home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Online / Lynx / lib / lynx.cfg
Text File  |  2000-04-06  |  129KB  |  2,948 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. #
  6. # Definition pairs are of the form  VARIABLE:DEFINITION
  7. # NO spaces are allowed between the pair items.
  8. #
  9. #  If you do not have write access to /usr/local/lib you may change
  10. #  the default location of this file in the userdefs.h file and recompile,
  11. #  or specify its location on the command line with the "-cfg"
  12. #  command line option.
  13. #
  14. # Items may be commented out by putting a '#' as the FIRST char of the line
  15. # (Any line beginning with punctuation is ignored).  Leading blanks on each
  16. # line are ignored; trailing blanks may be significant depending on the option.
  17.  
  18. # An HTML'ized description of all settings (based on comments in this file,
  19. # with alphabetical table of settings and with table of settings by category)
  20. # is available at http://www.hippo.ru/~hvv/lynxcfg_toc.html
  21. #
  22. ### The conversion is done via the scripts/cfg2html.pl script.
  23. ### Several directives beginning with '.' are used for this purpose.
  24.  
  25. .h1 Internal Behavior
  26.  
  27. .h2 INCLUDE
  28. # Starting with Lynx 2.8.1, the lynx.cfg file has a crude "include"
  29. # facility.  This means that you can take advantage of the global lynx.cfg
  30. # while also supplying your own tweaks.
  31. #
  32. # You can use a command-line argument (-cfg /where/is/lynx.cfg) or an
  33. # environment variable (LYNX_CFG=/where/is/lynx.cfg).
  34. # For instance, put in your .profile or .login:
  35. #
  36. #   LYNX_CFG=~/lynx.cfg; export LYNX_CFG   # in .profile for sh/ksh/bash/etc.
  37. #   setenv LYNX_CFG ~/lynx.cfg             # in .login for [t]csh
  38. #
  39. # Then in ~/lynx.cfg:
  40. #
  41. #   INCLUDE:/usr/local/lib/lynx.cfg
  42. #           ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
  43. # and now your own tweaks.
  44. #
  45. # Starting with Lynx 2.8.2, the INCLUDE facility is yet more powerful.  You can
  46. # suppress all but specific settings that will be read from included files.
  47. # This allows sysadmins to provide users the ability to customize lynx with
  48. # options that normally do not affect security, such as COLOR, VIEWER, KEYMAP.
  49. #
  50. # The syntax is
  51. #
  52. #   INCLUDE:filename for <space-separated-list-of-allowed-settings>
  53. #
  54. # sample:
  55. .ex
  56. #INCLUDE:~/lynx.cfg for COLOR VIEWER KEYMAP
  57. # only one space character should surround the word 'for'.  On Unix systems ':'
  58. # is also accepted as separator.  In that case, the example can be written as
  59. .ex
  60. #INCLUDE:~/lynx.cfg:COLOR VIEWER KEYMAP
  61. # In the example, only the settings COLOR, VIEWER and KEYMAP are accepted by
  62. # lynx.  Other settings are ignored.  Note:  INCLUDE is also treated as a
  63. # setting, so to allow an included file to include other files, put INCLUDE in
  64. # the list of allowed settings.
  65. #
  66. # If you allow an included file to include other files, and if a list of
  67. # allowed settings is specified for that file with the INCLUDE command, nested
  68. # files are only allowed to include the list of settings that is the set AND of
  69. # settings allowed for the included file and settings allowed by nested INCLUDE
  70. # commands.  In short, there is no security hole introduced by including a
  71. # user-defined configuration file if the original list of allowed settings is
  72. # secure.
  73.  
  74. .h1 Auxiliary Facilities
  75. # These settings control the auxiliary navigating facilities of lynx, e.g.,
  76. # jumpfiles, bookmarks, default URLs.
  77.  
  78. .h2 STARTFILE
  79. # STARTFILE is the default starting URL if none is specified
  80. #   on the command line or via a WWW_HOME environment variable;
  81. #   Lynx will refuse to start without a starting URL of some kind.
  82. # STARTFILE can be remote, e.g. http://www.w3.org/default.html ,
  83. #                or local, e.g. file://localhost/PATH_TO/FILENAME ,
  84. #           where PATH_TO is replaced with the complete path to FILENAME
  85. #           using Unix shell syntax and including the device on VMS.
  86. #
  87. # Normally we expect you will connect to a remote site, e.g., the Lynx starting
  88. # site:
  89. #STARTFILE:http://lynx.browser.org/
  90. #
  91. # As an alternative, you may want to use a local URL.  A good choice for this is
  92. # the user's home directory:
  93. .ex
  94. STARTFILE:file://localhost/gg/home/BM.html
  95. #
  96. # Your choice of STARTFILE should reflect your site's needs, and be a URL that
  97. # you can connect to reliably.  Otherwise users will become confused and think
  98. # that they cannot run Lynx.
  99.  
  100. .h2 HELPFILE
  101. # HELPFILE must be defined as a URL and must have a
  102. # complete path if local:
  103. # file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  104. #   Replace PATH_TO with the path to the lynx_help subdirectory
  105. #   for this distribution (use SHELL syntax including the device
  106. #   on VMS systems).
  107. # The default HELPFILE is:
  108. # http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
  109. #   This should be changed to the local path.
  110. #
  111. HELPFILE:http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
  112. .ex
  113. #HELPFILE:file://localhost/gg/lib/lynx_help/lynx_help_main.html
  114.  
  115. .h2 DEFAULT_INDEX_FILE
  116. # DEFAULT_INDEX_FILE is the default file retrieved when the
  117. # user presses the 'I' key when viewing any document.
  118. # An index to your CWIS can be placed here or a document containing
  119. # pointers to lots of interesting places on the web.
  120. #
  121. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  122.  
  123. .h1 Interaction
  124.  
  125. .h2 GOTOBUFFER
  126. # Set GOTOBUFFER to TRUE if you want to have the previous goto URL,
  127. # if any, offered for reuse or editing when using the 'g'oto command.
  128. # The default is defined in userdefs.h.  If left FALSE, the circular
  129. # buffer of previously entered goto URLs can still be invoked via the
  130. # Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
  131. #
  132. #GOTOBUFFER:FALSE
  133.  
  134. .h1 Interaction
  135.  
  136. .h2 JUMP_PROMPT
  137. # JUMP_PROMPT is the default statusline prompt for selecting a jumps file
  138. # shortcut.  (see below).
  139. # You can change the prompt here from that defined in userdefs.h.  Any
  140. # trailing white space will be trimmed, and a single space is added by Lynx
  141. # following the last non-white character.  You must set the default prompt
  142. # before setting the default jumps file (below).  If a default jumps file
  143. # was set via userdefs.h, and you change the prompt here, you must set the
  144. # default jumps file again (below) for the change to be implemented.
  145. #
  146. #JUMP_PROMPT:Jump to (use '?' for list):
  147.  
  148. .h1 Auxiliary Facilities
  149.  
  150. .h2 JUMPFILE
  151. # JUMPFILE is the local file checked for short-cut names for URLs
  152. # when the user presses the 'j' (JUMP) key.  The user will be prompted
  153. # to enter a short-cut name for an URL, which Lynx will then follow
  154. # in a similar manner to 'g'oto; alternatively, s/he can enter '?'
  155. # to view the full JUMPFILE list of short-cuts with associated URLs.
  156. # There is an example jumps file in the samples subdirectory.
  157. # If not defined here or in userdefs.h, the JUMP command will invoke
  158. # the NO_JUMPFILE statusline message (see  LYMessages_en.h ).
  159. #
  160. # To allow '?' to work, include in the JUMPFILE
  161. # a short-cut to the JUMPFILE itself, e.g.
  162. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  163. #
  164. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  165. #
  166. # Additional jumps files can be defined and mapped to keystrokes
  167. # in  lynx.cfg , but you should first define the default jumps file,
  168. # which is mapped by default to 'j' (or 'J' when VI keys are ON).
  169. #
  170. # In the following line, include the actual full local path to JUMPFILE,
  171. # but do not include 'file://localhost' in the line.
  172. #JUMPFILE:/FULL_LOCAL_PATH/jumps.html
  173.  
  174. .h2 JUMPBUFFER
  175. # Set JUMPBUFFER to TRUE if you want to have the previous jump target,
  176. # if any, offered for reuse or editing when using the 'J'ump command.
  177. # The default is defined in userdefs.h.  If left FALSE, the circular
  178. # buffer of previously entered targets (shortcuts) can still be invoked
  179. # via the Up-Arrow or Down-Arrow keys after entering the 'J'ump command.
  180. # If multiple jumps files are installed, the recalls of shortcuts will
  181. # be specific to each file.  If Lynx was built with PERMIT_GOTO_FROM_JUMP
  182. # defined, any random URLs used instead of shortcuts will be stored in the
  183. # goto URL buffer, not in the shortcuts buffer(s), and the single character
  184. # ':' can be used as a target to invoke the goto URL buffer (as if 'g'oto
  185. # followed by Up-Arrow had been entered).
  186. #
  187. #JUMPBUFFER:FALSE
  188.  
  189. .h1 Internal Behavior
  190.  
  191. .h2 SAVE_SPACE
  192. # If SAVE_SPACE is defined, it will be used as a path prefix for the
  193. # suggested filename in "Save to Disk" operations from the 'p'rint or
  194. # 'd'ownload menus.  On VMS, you can use either VMS (e.g., "SYS$LOGIN:")
  195. # or Unix syntax (including '~' for the HOME directory).  On Unix, you
  196. # must use Unix syntax.  If the symbol is not defined, or is zero-length
  197. # (""), no prefix will be used, and only a filename for saving in the
  198. # current default directory will be suggested.
  199. # This definition will be overridden if a "LYNX_SAVE_SPACE" environment
  200. # variable has been set on Unix, or logical has been defined on VMS.
  201. #
  202. #SAVE_SPACE:~/foo/
  203.  
  204. .h2 REUSE_TEMPFILES
  205. # Lynx uses temporary files for (among other purposes) the content of
  206. # various user interface pages.  REUSE_TEMPFILES changes the behavior
  207. # for some of these temp files, among them pages shown for HISTORY,
  208. # VLINKS, OPTIONS, INFO, PRINT, DOWNLOAD commands.
  209. # If set to TRUE, the same file can be used multiple times for the same
  210. # purpose.  If set to FALSE, a new filename is generated each time before
  211. # rewriting such a page.  With TRUE, repeated invocation of these commands
  212. # is less likely to push previous documents out of the cache of rendered
  213. # texts (see also DEFAULT_CACHE_SIZE).  This is especially useful with
  214. # intermittent (dialup) network connections, when it is desirable to
  215. # continue browsing through the cached documents after disconnecting.
  216. # With the default setting of FALSE, there can be more than one incarnation
  217. # of e.g. the VLINKS page cached in memory (but still only the most recently
  218. # generated one is kept as a file), resulting in sometimes less surprising
  219. # behaviour when returning to such a page via HISTORY or PREV_DOC functions
  220. # (most users will not encounter and notice this difference).
  221. #
  222. #REUSE_TEMPFILES:FALSE
  223.  
  224. .h2 LYNX_HOST_NAME
  225. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  226. # treated as an alias for the local host name in checks for URLs on
  227. # the local host (e.g., when the -localhost switch is set), and this
  228. # host name, "localhost", and HTHostName (the fully qualified domain
  229. # name of the system on which Lynx is running) will all be passed as
  230. # local.  A different definition here will override that in userdefs.h.
  231. #
  232. #LYNX_HOST_NAME:www.cc.ukans.edu
  233.  
  234. .h2 LOCALHOST_ALIAS
  235. # localhost aliases
  236. # Any LOCALHOST_ALIAS definitions also will be accepted as local when
  237. # the -localhost switch is set.  These need not actually be local, i.e.,
  238. # in contrast to LYNX_HOST_NAME, you can define them to trusted hosts at
  239. # other Internet sites.
  240. #
  241. .ex 2
  242. #LOCALHOST_ALIAS:gopher.server.domain
  243. #LOCALHOST_ALIAS:news.server.domain
  244.  
  245. .h2 LOCAL_DOMAIN
  246. # LOCAL_DOMAIN is used for a tail match with the ut_host element of
  247. # the utmp or utmpx structure on systems with utmp capabilities, to
  248. # determine if a user is local to your campus or organization when
  249. # handling -restrictions=inside_foo or outside_foo settings for ftp,
  250. # news, telnet/tn3270 and rlogin URLs.  An "inside" user is assumed
  251. # if your system does not have utmp capabilities.  CHANGE THIS here
  252. # if it was not changed in userdefs.h at compilation time.
  253. #
  254. #LOCAL_DOMAIN:ukans.edu
  255.  
  256. .h1 Content/Rendering
  257. # These settings control character set (charsets) issues.
  258.  
  259. .h2 CHARACTER_SET
  260. # CHARACTER_SET defines the display character set, i.e., assumed to be
  261. # installed on the user's terminal.  It determines which characters or strings
  262. # will be used to represent 8-bit character entities within HTML.  New
  263. # character sets may be defined as explained in the README files of the
  264. # src/chrtrans directory in the Lynx source code distribution.  For Asian (CJK)
  265. # character sets, it also determines how Kanji code will be handled.  The
  266. # default is defined in userdefs.h and can be changed here or via the
  267. # 'o'ptions menu.  The 'o'ptions menu setting will be stored in the user's RC
  268. # file whenever those settings are saved, and thereafter will be used as the
  269. # default.  For Lynx a "character set" has two names:  a MIME name (for
  270. # recognizing properly labeled charset parameters in HTTP headers etc.), and a
  271. # human-readable string for the 'O'ptions Menu (so you may find info about
  272. # language or group of languages besides MIME name).  Not all 'human-readable'
  273. # names correspond to exactly one valid MIME charset (example is "Chinese");
  274. # in that case an appropriate valid (and more specific) MIME name should be
  275. # used where required.  Well-known synonyms are also processed in the code.
  276. #
  277. # Raw (CJK) mode
  278. #
  279. # Lynx normally translates characters from a document's charset to display
  280. # charset, using ASSUME_CHARSET value (see below) if the document's charset
  281. # is not specified explicitly.  Raw (CJK) mode is OFF for this case.
  282. # When the document charset is specified explicitly, that charset
  283. # overrides any assumption like ASSUME_CHARSET or raw (CJK) mode.
  284. #
  285. # For the Asian (CJK) display character sets, the corresponding charset is
  286. # assumed in documents, i.e., raw (CJK) mode is ON by default.  In raw CJK
  287. # mode, 8-bit characters are not reverse translated in relation to the entity
  288. # conversion arrays, i.e., they are assumed to be appropriate for the display
  289. # character set.  The mode should be toggled OFF when an Asian (CJK) display
  290. # character set is selected but the document is not CJK and its charset not
  291. # specified explicitly.
  292. #
  293. # Raw (CJK) mode may be toggled by user via '@' (LYK_RAW_TOGGLE) key,
  294. # the -raw command line switch or from the 'o'ptions menu.
  295. #
  296. # Raw (CJK) mode effectively changes the charset assumption about unlabeled
  297. # documents.  You can toggle raw mode ON if you believe the document has a
  298. # charset which does correspond to your Display Character Set.  On the other
  299. # hand, if you set ASSUME_CHARSET the same as Display Character Set you get raw
  300. # mode ON by default (but you get assume_charset=iso-8859-1 if you try raw mode
  301. # OFF after it).
  302. #
  303. # Note that "raw" does not mean that every byte will be passed to the screen.
  304. # HTML character entities may get expanded and translated, inappropriate
  305. # control characters filtered out, etc.  There is a "Transparent" pseudo
  306. # character set for more "rawness".
  307. #
  308. # Since Lynx now supports a wide range of platforms it may be useful to note
  309. # the cpXXX codepages used by IBM PC compatible computers, and windows-xxxx
  310. # used by native MS-Windows apps.  We also note that cpXXX pages rarely are
  311. # found on Internet, but are mostly for local needs on DOS.
  312. #
  313. # Recognized character sets include:
  314. #
  315. .nf
  316. #    string for 'O'ptions Menu          MIME name
  317. #    ===========================        =========
  318. #    7 bit approximations (US-ASCII)    us-ascii
  319. #    Western (ISO-8859-1)               iso-8859-1
  320. #    Western (ISO-8859-15)              iso-8859-15
  321. #    Western (cp850)                    cp850
  322. #    Western (windows-1252)             windows-1252
  323. #    IBM PC US codepage (cp437)         cp437
  324. #    DEC Multinational                  dec-mcs
  325. #    Macintosh (8 bit)                  macintosh
  326. #    NeXT character set                 next
  327. #    HP Roman8                          hp-roman8
  328. #    Chinese                            euc-cn
  329. #    Japanese (EUC-JP)                  euc-jp
  330. #    Japanese (Shift_JIS)               shift_jis
  331. #    Korean                             euc-kr
  332. #    Taipei (Big5)                      big5
  333. #    Vietnamese (VISCII)                viscii
  334. #    Eastern European (ISO-8859-2)      iso-8859-2
  335. #    Eastern European (cp852)           cp852
  336. #    Eastern European (windows-1250)    windows-1250
  337. #    Latin 3 (ISO-8859-3)               iso-8859-3
  338. #    Latin 4 (ISO-8859-4)               iso-8859-4
  339. #    Baltic Rim (cp775)                 cp775
  340. #    Baltic Rim (windows-1257)          windows-1257
  341. #    Cyrillic (ISO-8859-5)              iso-8859-5
  342. #    Cyrillic (cp866)                   cp866
  343. #    Cyrillic (windows-1251)            windows-1251
  344. #    Cyrillic (KOI8-R)                  koi8-r
  345. #    Arabic (ISO-8859-6)                iso-8859-6
  346. #    Arabic (cp864)                     cp864
  347. #    Arabic (windows-1256)              windows-1256
  348. #    Greek (ISO-8859-7)                 iso-8859-7
  349. #    Greek (cp737)                      cp737
  350. #    Greek2 (cp869)                     cp869
  351. #    Greek (windows-1253)               windows-1253
  352. #    Hebrew (ISO-8859-8)                iso-8859-8
  353. #    Hebrew (cp862)                     cp862
  354. #    Hebrew (windows-1255)              windows-1255
  355. #    Turkish (ISO-8859-9)               iso-8859-9
  356. #    ISO-8859-10                        iso-8859-10
  357. #    Ukrainian Cyrillic (cp866u)        cp866u
  358. #    Ukrainian Cyrillic (KOI8-U)        koi8-u
  359. #    UNICODE (UTF-8)                    utf-8
  360. #    RFC 1345 w/o Intro                 mnemonic+ascii+0
  361. #    RFC 1345 Mnemonic                  mnemonic
  362. #    Transparent                        x-transparent
  363. .fi
  364. #
  365. # The value should be the MIME name of a character set recognized by
  366. # Lynx (case insensitive).
  367. # Find RFC 1345 at http://www.ics.uci.edu/pub/ietf/uri/rfc1345.txt .
  368. #
  369. #CHARACTER_SET:iso-8859-1
  370.  
  371. .h2 ASSUME_CHARSET
  372. # ASSUME_CHARSET changes the handling of documents which do not
  373. # explicitly specify a charset.  Normally Lynx assumes that 8-bit
  374. # characters in those documents are encoded according to iso-8859-1
  375. # (the official default for the HTTP protocol).  When ASSUME_CHARSET
  376. # is defined here or by an -assume_charset command line flag is in effect,
  377. # Lynx will treat documents as if they were encoded accordingly.
  378. # See above on how this interacts with "raw mode" and the Display
  379. # Character Set.
  380. # ASSUME_CHARSET can also be changed via the 'o'ptions menu but will
  381. # not be saved as permanent value in user's .lynxrc file to avoid more chaos.
  382. #
  383. #ASSUME_CHARSET:iso-8859-1
  384.  
  385. .h2 ASSUMED_DOC_CHARSET_CHOICE
  386. .h2 DISPLAY_CHARSET_CHOICE
  387. # It is possible to reduce the number of charset choices in the 'O'ptions menu
  388. # for "display charset" and "assumed document charset" fields via
  389. # DISPLAY_CHARSET_CHOICE and ASSUMED_DOC_CHARSET_CHOICE settings correspondingly.
  390. # Each of these settings can be used several times to define the set of possible
  391. # choices for corresponding field. The syntax for the values is
  392. #
  393. #  string | prefix* | *
  394. #
  395. # where
  396. #
  397. #  'string' is either the MIME name of charset or it's full name (listed
  398. #     either in the left or in the right column of table of
  399. #     recognized charsets), case-insensitive - e.g.  'Koi8-R' or
  400. #     'Cyrillic (KOI8-R)' (both without quotes),
  401. #
  402. #  'prefix' is any string, and such value will select all charsets having
  403. #     the name with prefix matching given (case insensitive), i.e.,
  404. #     for the charsets listed in the table of recognized charsets,
  405. #
  406. .ex
  407. # ASSUMED_DOC_CHARSET_CHOICE:cyrillic*
  408. #     will be equal to specifying
  409. .ex 4
  410. # ASSUMED_DOC_CHARSET_CHOICE:cp866
  411. # ASSUMED_DOC_CHARSET_CHOICE:windows-1251
  412. # ASSUMED_DOC_CHARSET_CHOICE:koi8-r
  413. # ASSUMED_DOC_CHARSET_CHOICE:iso-8859-5
  414. #     or lines with full names of charsets.
  415. #
  416. #  literal string '*' (without quotes) will enable all charset choices
  417. #     in corresponding field.  This is useful for overriding site
  418. #     defaults in private pieces of lynx.cfg included via INCLUDE
  419. #     directive.
  420. #
  421. # Default values for both settings are '*', but any occurrence of settings
  422. # with values that denote any charsets will make only listed choices available
  423. # for corresponding field.
  424. #ASSUMED_DOC_CHARSET_CHOICE:*
  425. #DISPLAY_CHARSET_CHOICE:*
  426.  
  427. .h2 ASSUME_LOCAL_CHARSET
  428. # ASSUME_LOCAL_CHARSET is like ASSUME_CHARSET but only applies to local
  429. # files.  If no setting is given here or by an -assume_local_charset
  430. # command line option, the value for ASSUME_CHARSET or -assume_charset
  431. # is used.  It works for both text/plain and text/html files.
  432. # This option will ignore "raw mode" toggling when local files are viewed
  433. # (it is "stronger" than "assume_charset" or the effective change
  434. # of the charset assumption caused by changing "raw mode"),
  435. # so only use when necessary.
  436. #
  437. #ASSUME_LOCAL_CHARSET:iso-8859-1
  438.  
  439. .h2 PREPEND_CHARSET_TO_SOURCE
  440. # PREPEND_CHARSET_TO_SOURCE:TRUE tells Lynx to prepend a META CHARSET line
  441. # to text/html source files when they are retrieved for 'd'ownloading
  442. # or passed to 'p'rint functions, so HTTP headers will not be lost.
  443. # This is necessary for resolving charset for local html files,
  444. # while the assume_local_charset is just an assumption.
  445. # For the 'd'ownload option, a META CHARSET will be added only if the HTTP
  446. # charset is present.  The compilation default is TRUE.
  447. # It is generally desirable to have charset information for every local
  448. # html file, but META CHARSET string potentially could cause
  449. # compatibility problems with other browsers, see also PREPEND_BASE_TO_SOURCE.
  450. # Note that the prepending is not done for -source dumps.
  451. #
  452. #PREPEND_CHARSET_TO_SOURCE:TRUE
  453.  
  454. .h2 NCR_IN_BOOKMARKS
  455. # NCR_IN_BOOKMARKS:TRUE allows you to save 8-bit characters in bookmark titles
  456. # in the unicode format (NCR).  This may be useful if you need to switch
  457. # display charsets frequently.  This is the case when you use Lynx on different
  458. # platforms, e.g., on UNIX and from a remote PC, and want to keep the bookmarks
  459. # file persistent.
  460. # Another aspect is compatibility:  NCR is part of I18N and HTML4.0
  461. # specifications supported starting with Lynx 2.7.2, Netscape 4.0 and MSIE 4.0.
  462. # Older browser versions will fail so keep NCR_IN_BOOKMARKS:FALSE if you
  463. # plan to use them.
  464. #
  465. #NCR_IN_BOOKMARKS:FALSE
  466.  
  467. .h2 FORCE_8BIT_TOUPPER
  468. # FORCE_8BIT_TOUPPER overrides locale settings and uses internal 8-bit
  469. # case-conversion mechanism for case-insensitive searches in non-ASCII display
  470. # character sets.  It is FALSE by default and should not be changed unless
  471. # you encounter problems with case-insensitive searches.
  472. #
  473. #FORCE_8BIT_TOUPPER:FALSE
  474.  
  475. .h2 OUTGOING_MAIL_CHARSET
  476. # While Lynx supports different platforms and display character sets
  477. # we need to limit the charset in outgoing mail to reduce
  478. # trouble for remote recipients who may not recognize our charset.
  479. # You may try US-ASCII as the safest value (7 bit), any other MIME name,
  480. # or leave this field blank (default) to use the display character set.
  481. # Charset translations currently are implemented for mail "subjects= " only.
  482. #
  483. #OUTGOING_MAIL_CHARSET:
  484.  
  485. .h2 ASSUME_UNREC_CHARSET
  486. # If Lynx encounters a charset parameter it doesn't recognize, it will
  487. # replace the value given by ASSUME_UNREC_CHARSET (or a corresponding
  488. # -assume_unrec_charset command line option) for it.  This can be used
  489. # to deal with charsets unknown to Lynx, if they are "sufficiently
  490. # similar" to one that Lynx does know about, by forcing the same
  491. # treatment.  There is no default, and you probably should leave this
  492. # undefined unless necessary.
  493. #
  494. #ASSUME_UNREC_CHARSET:iso-8859-1
  495.  
  496. .h2 PREFERRED_LANGUAGE
  497. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  498. # "fr") which will be indicated by Lynx in its Accept-Language headers
  499. # as the preferred language.  If available, the document will be
  500. # transmitted in that language.  Users can override this setting via
  501. # the 'o'ptions menu and save that preference in their RC file.
  502. # This may be a comma-separated list of languages in decreasing preference.
  503. #
  504. #PREFERRED_LANGUAGE:en
  505.  
  506. .h2 PREFERRED_CHARSET
  507. # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  508. # "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
  509. # requests to http servers using an Accept-Charsets header.  Users can
  510. # change it via the 'o'ptions menu and save that preference in their RC file.
  511. # The value should NOT include "ISO-8859-1" or "US-ASCII",
  512. # since those values are always assumed by default.
  513. # If a file in that character set is available, the server will send it.
  514. # If no Accept-Charset header is present, the default is that any
  515. # character set is acceptable.  If an Accept-Charset header is present,
  516. # and if the server cannot send a response which is acceptable
  517. # according to the Accept-Charset header, then the server SHOULD send
  518. # an error response with the 406 (not acceptable) status code, though
  519. # the sending of an unacceptable response is also allowed.  See RFC 2068
  520. # (http://www.ics.uci.edu/pub/ietf/uri/rfc2068.txt).
  521. #
  522. #PREFERRED_CHARSET:
  523.  
  524. .h1 Interaction
  525.  
  526. .h2 URL_DOMAIN_PREFIXES
  527. .h2 URL_DOMAIN_SUFFIXES
  528. # URL_DOMAIN_PREFIXES and URL_DOMAIN_SUFFIXES are strings which will be
  529. # prepended (together with a scheme://) and appended to the first element
  530. # of command line or 'g'oto arguments which are not complete URLs and
  531. # cannot be opened as a local file (file://localhost/string).  Both
  532. # can be comma-separated lists.  Each prefix must end with a dot, each
  533. # suffix must begin with a dot, and either may contain other dots (e.g.,
  534. # .com.jp).  The default lists are defined in userdefs.h and can be
  535. # replaced here.  Each prefix will be used with each suffix, in order,
  536. # until a valid Internet host is created, based on a successful DNS
  537. # lookup (e.g., foo will be tested as www.foo.com and then www.foo.edu
  538. # etc.).  The first element can include a :port and/or /path which will
  539. # be restored with the expanded host (e.g., wfbr:8002/dir/lynx will
  540. # become http://www.wfbr.edu:8002/dir/lynx).  The prefixes will not be
  541. # used if the first element ends in a dot (or has a dot before the
  542. # :port or /path), and similarly the suffixes will not be used if the
  543. # the first element begins with a dot (e.g., .nyu.edu will become
  544. # http://www.nyu.edu without testing www.nyu.com).  Lynx will try to
  545. # guess the scheme based on the first field of the expanded host name,
  546. # and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  547. # will be made gopher://gopher.wfbr.edu).
  548. #
  549. #URL_DOMAIN_PREFIXES:www.
  550. #URL_DOMAIN_SUFFIXES:.com,.edu,.net,.org
  551.  
  552. .h2 FORMS_OPTIONS
  553. # Toggle whether the Options Menu is key-based or form-based;
  554. # the key-based version is available only if specified at compile time.
  555. #FORMS_OPTIONS:TRUE
  556.  
  557. .h2 PARTIAL
  558. # Display partial pages while downloading
  559. #PARTIAL:TRUE
  560.  
  561. .h2 PARTIAL_THRES
  562. # Set the threshold # of lines Lynx must render before it
  563. # redraws the screen in PARTIAL mode.  Anything < 0 implies
  564. # use of the screen size.
  565. #PARTIAL_THRES:-1
  566.  
  567. .h2 SHOW_KB_RATE
  568. # While getting large files, Lynx shows the approximate rate of transfer.
  569. # Set this to change the units shown:
  570. # TRUE for KB/sec or FALSE for bytes/sec:  default is TRUE.
  571. SHOW_KB_RATE:FALSE
  572.  
  573. .h2 INFOSECS
  574. .h2 MESSAGESECS
  575. .h2 ALERTSECS
  576. # The following three definitions set the number of seconds for
  577. # pauses following statusline messages that would otherwise be
  578. # replaced immediately, and are more important than the unpaused
  579. # progress messages.  Those set by INFOSECS are also basically
  580. # progress messages (e.g., that a prompted input has been canceled)
  581. # and should have the shortest pause.  Those set by MESSAGESECS are
  582. # informational (e.g., that a function is disabled) and should have
  583. # a pause of intermediate duration.  Those set by ALERTSECS typically
  584. # report a serious problem and should be paused long enough to read
  585. # whenever they appear (typically unexpectedly).  The default values
  586. # are defined in userdefs.h, and can be modified here should longer
  587. # pauses be desired for braille-based access to Lynx.
  588. #
  589. #INFOSECS:1
  590. #MESSAGESECS:2
  591. #ALERTSECS:3
  592.  
  593. .h1 Appearance
  594. # These settings category control the appearance of Lynx's screen and the way
  595. # Lynx renders some tags.
  596.  
  597. .h2 USE_SELECT_POPUPS
  598. # If USE_SELECT_POPUPS is set FALSE, Lynx will present a vertical list of
  599. # radio buttons for the OPTIONs in SELECT blocks which lack the MULTIPLE
  600. # attribute, instead of using a popup menu.  Note that if the MULTIPLE
  601. # attribute is present in the SELECT start tag, Lynx always will create a
  602. # vertical list of checkboxes for the OPTIONs.
  603. # The default defined here or in userdefs.h can be changed via the 'o'ptions
  604. # menu and saved in the RC file, and always can be toggled via the -popup
  605. # command line switch.
  606. #
  607. #USE_SELECT_POPUPS:TRUE
  608.  
  609. .h2 SHOW_CURSOR
  610. # SHOW_CURSOR controls whether or not the cursor is hidden or appears
  611. # over the current link in documents or the current option in popups.
  612. # Showing the cursor is handy if you are a sighted user with a poor
  613. # terminal that can't do bold and reverse video at the same time or
  614. # at all.  It also can be useful to blind users, as an alternative
  615. # or supplement to setting LINKS_AND_FIELDS_ARE_NUMBERED or
  616. # LINKS_ARE_NUMBERED.
  617. # The default defined here or in userdefs.h can be changed via the
  618. # 'o'ptions menu and saved in the RC file, and always can be toggled
  619. # via the -show_cursor command line switch.
  620. #
  621. #SHOW_CURSOR:FALSE
  622.  
  623. .h2 BOLD_HEADERS
  624. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be acted
  625. # upon for <H1> through <H6> headers.  The compilation default is FALSE
  626. # (only the indentation styles are acted upon, but see BOLD_H1, below).
  627. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  628. # HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  629. #
  630. #BOLD_HEADERS:FALSE
  631.  
  632. .h2 BOLD_H1
  633. # If BOLD_H1 is set to TRUE the HT_BOLD default style will be acted
  634. # upon for <H1> headers even if BOLD_HEADERS is FALSE.  The compilation
  635. # default is FALSE.  On Unix, compilation with -DUNDERLINE_LINKS also
  636. # will apply to the HT_BOLD style for headers when BOLD_H1 is TRUE.
  637. #
  638. #BOLD_H1:FALSE
  639.  
  640. .h2 BOLD_NAME_ANCHORS
  641. # If BOLD_NAME_ANCHORS is set to TRUE the content of anchors without
  642. # an HREF attribute, (i.e., anchors with a NAME or ID attribute) will
  643. # have the HT_BOLD default style.  The compilation default is FALSE.
  644. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  645. # HT_BOLD style for NAME (ID) anchors when BOLD_NAME_ANCHORS is TRUE.
  646. #
  647. #BOLD_NAME_ANCHORS:FALSE
  648.  
  649. .h1 Internal Behavior
  650.  
  651. .h2 DEFAULT_CACHE_SIZE
  652. .h2 DEFAULT_VIRTUAL_MEMORY_SIZE
  653. # The DEFAULT_CACHE_SIZE specifies the number of WWW documents to be
  654. # cached in memory at one time.
  655. #
  656. # This so-called cache size (actually, number) is defined in userdefs.h and
  657. # may be modified here and/or with the command line argument -cache=NUMBER
  658. # The minimum allowed value is 2, for the current document and at least one
  659. # to fetch, and there is no absolute maximum number of cached documents.
  660. # On Unix, and VMS not compiled with VAXC, whenever the number is exceeded
  661. # the least recently displayed document will be removed from memory.
  662. #
  663. # On VMS compiled with VAXC, the DEFAULT_VIRTUAL_MEMORY_SIZE specifies the
  664. # amount (bytes) of virtual memory that can be allocated and not yet be freed
  665. # before previous documents are removed from memory.  If the values for both
  666. # the DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE are exceeded, then
  667. # the least recently displayed documents will be freed until one or the other
  668. # value is no longer exceeded.  The default value is defined in userdefs.h.
  669. #
  670. # The Unix and VMS (but not VAXC) implementations use the C library malloc's
  671. # and calloc's for memory allocation, but procedures for taking the actual
  672. # amount of cache into account still need to be developed.  They use only
  673. # the DEFAULT_CACHE_SIZE value, and that specifies the absolute maximum
  674. # number of documents to cache (rather than the maximum number only if
  675. # DEFAULT_VIRTUAL_MEMORY_SIZE has been exceeded, as with VAXC/VAX).
  676. #
  677. DEFAULT_CACHE_SIZE:30
  678. #DEFAULT_VIRTUAL_MEMORY_SIZE:512000
  679.  
  680. .h2 SOURCE_CACHE
  681. # SOURCE_CACHE sets the source caching behavior for Lynx:
  682. # FILE causes Lynx to keep a temporary file for each cached document
  683. #   containing the HTML source of the document, which it uses to regenerate
  684. #   the document when certain settings are changed (for instance,
  685. #   historical vs. minimal vs. valid comment parsing) instead of reloading
  686. #   the source from the network.
  687. # MEMORY is like FILE, except the document source is kept in memory.  You
  688. #   may wish to adjust DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE
  689. #   accordingly.
  690. # NONE is the default; the document source is not cached, and is reloaded
  691. #   from the network when needed.
  692. #
  693. #SOURCE_CACHE:NONE
  694.  
  695. .h2 ALWAYS_RESUBMIT_POSTS
  696. # If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
  697. # with method POST, dumping any cache from a previous submission of the
  698. # form, including when the document returned by that form is sought with
  699. # the PREV_DOC command or via the history list.  Lynx always resubmits
  700. # forms with method POST when a submit button or a submitting text input
  701. # is activated, but normally retrieves the previously returned document
  702. # if it had links which you activated, and then go back with the PREV_DOC
  703. # command or via the history list.
  704. #
  705. # The default defined here or in userdefs.h can be toggled via
  706. # the -resubmit_forms command line switch.
  707. #
  708. #ALWAYS_RESUBMIT_POSTS:FALSE
  709.  
  710. .h1 HTML Parsing
  711.  
  712. .h2 NO_ISMAP_IF_USEMAP
  713. # If NO_ISMAP_IF_USEMAP is set TRUE, Lynx will not include a link to the
  714. # server-side image map if both a server-side and client-side map for the
  715. # same image is indicated in the HTML markup.  The compilation default is
  716. # FALSE, such that a link with "[ISMAP]" as the link name, followed by a
  717. # hyphen, will be prepended to the ALT string or "[USEMAP]" pseudo-ALT for
  718. # accessing Lynx's text-based rendition of the client-side map (based on
  719. # the content of the associated MAP element).  If the "[ISMAP]" link is
  720. # activated, Lynx will send a 0,0 coordinate pair to the server, which
  721. # Lynx-friendly sites can map to a for-text-client document, homologous
  722. # to what is intended for the content of a FIG element.
  723. #
  724. # The compilation default, or default defined here, can be toggled via
  725. # the "-ismap" command line switch.
  726. #
  727. #NO_ISMAP_IF_USEMAP:FALSE
  728.  
  729. .h2 SEEK_FRAG_MAP_IN_CUR
  730. # If SEEK_FRAG_MAP_IN_CUR is set FALSE, then USEMAP attribute values
  731. # (in IMG or OBJECT tags) consisting of only a fragment (USEMAP="#foo")
  732. # will be resolved with respect to the current document's base, which
  733. # might not be the same as the current document's URL.
  734. # The compilation default is to use the current document's URL in all
  735. # cases (i.e., assume the MAP is present below, if it wasn't present
  736. # above the point in the HTML stream where the USEMAP attribute was
  737. # detected).  Lynx's present "single pass" rendering engine precludes
  738. # checking below before making the decision on how to resolve a USEMAP
  739. # reference consisting solely of a fragment.
  740. #
  741. #SEEK_FRAG_MAP_IN_CUR:TRUE
  742.  
  743. .h2 SEEK_FRAG_AREA_IN_CUR
  744. # If SEEK_FRAG_AREA_IN_CUR is set FALSE, then HREF attribute values
  745. # in AREA tags consisting of only a fragment (HREF="#foo") will be
  746. # resolved with respect to the current document's base, which might
  747. # not be the same as the current document's URL.  The compilation
  748. # default is to use the current document's URL, as is done for the
  749. # HREF attribute values of Anchors and LINKs that consist solely of
  750. # a fragment.
  751. #
  752. #SEEK_FRAG_AREA_IN_CUR:TRUE
  753.  
  754. .h1 CGI scripts
  755. # These settings control Lynx's ability to execute various types of scripts.
  756.  
  757. .h2 LOCAL_EXECUTION_LINKS_ALWAYS_ON
  758. .h2 LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE
  759. # Local execution links and scripts are by default completely disabled,
  760. # unless a change is made to the userdefs.h file to enable them or
  761. # the configure script is used with the corresponding options
  762. # (--enable-exec-links and --enable-exec-scripts).
  763. # See the Lynx source code distribution and the userdefs.h
  764. # file for more detail on enabling execution links and scripts.
  765. #
  766. # If you have enabled execution links or scripts the following
  767. # two variables control Lynx's action when an execution link
  768. # or script is encountered.
  769. #
  770. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  771. # link or script will be executed no matter where it came from.
  772. # This is EXTREMELY dangerous.  Since Lynx can access files from
  773. # anywhere in the world, you may encounter links or scripts that
  774. # will cause damage or compromise the security of your system.
  775. #
  776. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  777. # links or scripts that reside on the local machine and are
  778. # referenced with a URL beginning with "file://localhost/" or meet
  779. # TRUSTED_EXEC or ALWAYS_TRUSTED_EXEC rules (see below) will be
  780. # executed.  This is much less dangerous than enabling all execution
  781. # links, but can still be dangerous.
  782. #
  783. #LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  784. #LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  785.  
  786. .h2 TRUSTED_EXEC
  787. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  788. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  789. # or lynxprog command will be permitted if it was referenced from within
  790. # a document whose URL begins with that string.  If you wish to restrict the
  791. # referencing URLs further, you can extend the string to include a trusted
  792. # path.  You also can specify a trusted directory for http URLs, which will
  793. # then be treated as if they were local rather than remote.  For example:
  794. #
  795. #  TRUSTED_EXEC:file://localhost/trusted/
  796. #  TRUSTED_EXEC:http://www.wfbr.edu/trusted/
  797. #
  798. # If you also wish to restrict the commands which can be executed, create
  799. # a series of rules with the path (Unix) or command name (VMS) following
  800. # the string, separated by a tab.  For example:
  801. #
  802. # Unix:
  803. # ====
  804. #  TRUSTED_EXEC:file://localhost/<tab>/bin/cp
  805. #  TRUSTED_EXEC:file://localhost/<tab>/bin/rm
  806. # VMS:
  807. # ===
  808. #  TRUSTED_EXEC:file://localhost/<tab>copy
  809. #  TRUSTED_EXEC:file://localhost/<tab>delete
  810. #
  811. # Once you specify a TRUSTED_EXEC referencing string, the default is
  812. # replaced, and all the referencing strings you desire must be specified
  813. # as a series.  Similarly, if you associate a command with the referencing
  814. # string, you must specify all of the allowable commands as a series of
  815. # TRUSTED_EXEC rules for that string.  If you specify ALWAYS_TRUSTED_EXEC
  816. # rules below, you need not repeat them as TRUSTED_EXEC rules.
  817. #
  818. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec or lynxprog
  819. # URLs in that file will be permitted, regardless of other settings.  If
  820. # you also set LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single
  821. # TRUSTED_EXEC rule that will always fail (e.g., "none"), then *ONLY* the
  822. # lynxexec or lynxprog URLs in JUMPFILE (and any ALWAYS_TRUSTED_EXEC rules,
  823. # see below) will be allowed.  Note, however, that if Lynx was compiled with
  824. # CAN_ANONYMOUS_JUMP set to FALSE (default is TRUE), or -restrictions=jump
  825. # is included with the -anonymous switch at run time, then users of an
  826. # anonymous account will not be able to access the jumps file or enter
  827. # 'j'ump shortcuts, and this selective execution feature will be overridden
  828. # as well (i.e., they will only be able to access lynxexec or lynxprog
  829. # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  830. #
  831. #TRUSTED_EXEC:none
  832.  
  833. .h2 ALWAYS_TRUSTED_EXEC
  834. # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
  835. # always enabled by an ALWAYS_TRUSTED_EXEC rule for it.  This is useful for
  836. # anonymous accounts in which you have disabled execution links generally,
  837. # and may also have disabled jumps file links, but still want to allow
  838. # execution of particular utility scripts or programs.  The format is
  839. # like that for TRUSTED_EXEC.  For example:
  840. #
  841. # Unix:
  842. # ====
  843. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>/usr/local/kinetic/bin/usertime
  844. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>/usr/local/kinetic/bin/who.sh
  845. # VMS:
  846. # ===
  847. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>usertime
  848. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>show users
  849. #
  850. # The default ALWAYS_TRUSTED_EXEC rule is "none".
  851. #
  852. #ALWAYS_TRUSTED_EXEC:none
  853.  
  854. .h2 TRUSTED_LYNXCGI
  855. # Unix:
  856. # =====
  857. # TRUSTED_LYNXCGI rules define the permitted sources and/or paths for
  858. # lynxcgi links (if LYNXCGI_LINKS is defined in userdefs.h).  The format
  859. # is the same as for TRUSTED_EXEC rules (see above), but no defaults are
  860. # defined, i.e., if no TRUSTED_LYNXCGI rules are defined here, any source
  861. # and path for lynxcgi links will be permitted.  Example rules:
  862. #
  863. #  TRUSTED_LYNXCGI:file://localhost/
  864. #  TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  865. #  TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  866. #
  867. # VMS:
  868. # ====
  869. # Do not define this.
  870. #
  871. #TRUSTED_LYNXCGI:none
  872.  
  873. .h2 LYNXCGI_ENVIRONMENT
  874. # Unix:
  875. # =====
  876. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  877. # environment variable to the list of environment variables passed on to the
  878. # lynxcgi script.  Useful variables are HOME, USER, etc...  If proxies
  879. # are in use, and the script invokes another copy of lynx (or a program like
  880. # wget) in a subsidiary role, it can be useful to add http_proxy and other
  881. # *_proxy variables.
  882. #
  883. # VMS:
  884. # ====
  885. # Do not define this.
  886. #
  887. #LYNXCGI_ENVIRONMENT:
  888.  
  889. .h2 LYNXCGI_DOCUMENT_ROOT
  890. # Unix:
  891. # =====
  892. # LYNXCGI_DOCUMENT_ROOT is the value of DOCUMENT_ROOT that will be passed
  893. # to lynxcgi scripts.  If set and the URL has PATH_INFO data, then
  894. # PATH_TRANSLATED will also be generated.  Examples:
  895. #  LYNXCGI_DOCUMENT_ROOT:/usr/local/etc/httpd/htdocs
  896. #  LYNXCGI_DOCUMENT_ROOT:/data/htdocs/
  897. #
  898. # VMS:
  899. # ====
  900. # Do not define this.
  901. #
  902. #LYNXCGI_DOCUMENT_ROOT:
  903.  
  904. .h1 Cookie Handling
  905.  
  906. .h2 FORCE_SSL_COOKIES_SECURE
  907. # If FORCE_SSL_COOKIES_SECURE is set to TRUE, then SSL encrypted cookies
  908. # received from https servers never will be sent unencrypted to http
  909. # servers.  The compilation default is to impose this block only if the
  910. # https server included a secure attribute for the cookie.  The normal
  911. # default or that defined here can be toggled via the -force_secure
  912. # command line switch.
  913. #
  914. #FORCE_SSL_COOKIES_SECURE:FALSE
  915.  
  916. .h1 Internal Behavior
  917.  
  918. .h2 MAIL_SYSTEM_ERROR_LOGGING
  919. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of
  920. #  the information, or ALERTMAIL if there is no owner, every time
  921. #  that a document cannot be accessed!
  922. #
  923. #  NOTE:  This can generate A LOT of mail, be warned.
  924. #
  925. #MAIL_SYSTEM_ERROR_LOGGING:FALSE
  926.  
  927. .h2 CHECKMAIL
  928. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  929. # message) about the existence of any unread mail at startup of Lynx, and
  930. # will get statusline messages if subsequent new mail arrives.  If a jumps
  931. # file with a lynxprog URL for invoking mail is available, or your html
  932. # pages include an mail launch file URL, the user thereby can access mail
  933. # and read the messages.  The checks and statusline reports will not be
  934. # performed if Lynx has been invoked with the -restrictions=mail switch.
  935. #
  936. # VMS USERS !!!
  937. # =============
  938. # New mail is normally broadcast as it arrives, via "unsolicited screen
  939. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  940. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  941. # instead (e.g., in a public account which will be used by people who
  942. # are ignorant about VMS).
  943. #
  944. #CHECKMAIL:FALSE
  945.  
  946. .h1 News-groups
  947.  
  948. .h2 NNTPSERVER
  949. # To enable news reading ability via Lynx, the environment variable NNTPSERVER
  950. # must be set so that it points to your site's NNTP server
  951. # (see Lynx Users Guide on environment variables).
  952. # Lynx respects RFC 1738 (http://www.ics.uci.edu/pub/ietf/uri/rfc1738.txt)
  953. # and does not accept a host field in news URLs (use nntp: instead of news: for
  954. # the scheme if you wish to specify an NNTP host in a URL, as explained in the
  955. # RFC).  If you have not set the variable externally, you can set it at run
  956. # time via this configuration file.  It will not override an external setting.
  957. # Note that on VMS it is set as a process logical rather than symbol, and will
  958. # outlive the Lynx image.
  959. # The news reading facility in Lynx is quite limited.  Lynx does not provide a
  960. # full featured news reader with elaborate error checking and safety features.
  961. #
  962. #NNTPSERVER:news.server.dom
  963.  
  964. .h2 LIST_NEWS_NUMBERS
  965. # If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list and include
  966. # the numbers of articles in news listings, instead of using an unordered
  967. # list.  The default is defined in userdefs.h, and can be overridden here.
  968. #
  969. #LIST_NEWS_NUMBERS:FALSE
  970.  
  971. .h2 LIST_NEWS_DATES
  972. # If LIST_NEWS_DATES is set TRUE, Lynx will include the dates of articles in
  973. # news listings.  The dates always are included in the articles, themselves.
  974. # The default is defined in userdefs.h, and can be overridden here.
  975. #
  976. #LIST_NEWS_DATES:FALSE
  977.  
  978. .h2 NEWS_CHUNK_SIZE
  979. .h2 NEWS_MAX_CHUNK
  980. # NEWS_CHUNK_SIZE and NEWS_MAX_CHUNK regulate the chunking of news article
  981. # listings with inclusion of links for listing earlier and/or later articles.
  982. # The defaults are defined in HTNews.c as 30 and 40, respectively.  If the
  983. # news group contains more than NEWS_MAX_CHUNK articles, they will be listed
  984. # in NEWS_CHUNK_SIZE chunks.  You can change the defaults here, and/or on
  985. # the command line via -newschunksize=NUMBER and/or -newsmaxchunk=NUMBER
  986. # switches.  Note that if the chunk size is increased, here or on the command
  987. # line, to a value greater than the current maximum, the maximum will be
  988. # increased to that number.  Conversely, if the maximum is set to a number
  989. # less than the current chunk size, the chunk size will be reduced to that
  990. # number.  Thus, you need use only one of the two switches on the command
  991. # line, based on the direction of intended change relative to the compilation
  992. # or configuration defaults.  The compilation defaults ensure that there will
  993. # be at least 10 earlier articles before bothering to chunk and create a link
  994. # for earlier articles.
  995. #
  996. #NEWS_CHUNK_SIZE:30
  997. #NEWS_MAX_CHUNK:40
  998.  
  999. .h2 NEWS_POSTING
  1000. # Set NEWS_POSTING to FALSE if you do not want to support posting to
  1001. # news groups via Lynx.  If left TRUE, Lynx will use its news gateway to
  1002. # post new messages or followups to news groups, using the URL schemes
  1003. # described in the "Supported URLs" section of the online 'h'elp.  The
  1004. # posts will be attempted via the nntp server specified in the URL, or
  1005. # if none was specified, via the NNTPSERVER configuration or environment
  1006. # variable.  Links with these URLs for posting or sending followups are
  1007. # created by the news gateway when reading group listings or articles
  1008. # from nntp servers if the server indicates that it permits posting.
  1009. # The compilation default set in userdefs.h can be changed here.  If
  1010. # the default is TRUE, posting can still be disallowed via the
  1011. # -restrictions command line switch.
  1012. # The posting facility in Lynx is quite limited.  Lynx does not provide a
  1013. # full featured news poster with elaborate error checking and safety features.
  1014. #
  1015. #NEWS_POSTING:TRUE
  1016.  
  1017. .h2 LYNX_SIG_FILE
  1018. # LYNX_SIG_FILE defines the name of a file containing a signature which
  1019. # can be appended to email messages and news postings or followups.  The
  1020. # user will be prompted whether to append it.  It is sought in the home
  1021. # directory.  If it is in a subdirectory, begin it with a dot-slash
  1022. # (e.g., ./lynx/.lynxsig).  The definition is set in userdefs.h and can
  1023. # be changed here.
  1024. #
  1025. #LYNX_SIG_FILE:.lynxsig
  1026.  
  1027. .h1 Interaction
  1028. # These settings control interaction of the user with lynx.
  1029.  
  1030. .h2 SCROLLBAR
  1031. # If SCROLLBAR is set TRUE, Lynx will show scrollbar on windows.  With mouse
  1032. # enabled, the scrollbar strip outside the bar is clickable, and scrolls the
  1033. # window by pages.  The appearance of the scrollbar can be changed from
  1034. # LYNX_LSS file:  define attributes scroll.bar, scroll.back (for the bar, and
  1035. # for the strip along which the scrollbar moves).
  1036. #SCROLLBAR:FALSE
  1037.  
  1038. .h2 SCROLLBAR_ARROW
  1039. # If SCROLLBAR_ARROW is set TRUE, Lynx's scrollbar will have arrows at the
  1040. # ends.  With mouse enabled, the arrows are clickable, and scroll the window by
  1041. # 2 lines.  The appearance of the scrollbar arrows can be changed from LYNX_LSS
  1042. # file:  define attributes scroll.arrow, scroll.noarrow (for enabled-arrows,
  1043. # and disabled arrows).  An arrow is "disabled" if the bar is at this end of
  1044. # the strip.
  1045. #SCROLLBAR_ARROW:TRUE
  1046.  
  1047. .h2 USE_MOUSE
  1048. # If USE_MOUSE is set TRUE, Lynx (when configured with ncurses) will allow
  1049. # the user to click with button-1 on links to select them.
  1050. #USE_MOUSE:FALSE
  1051.  
  1052. .h1 HTML Parsing
  1053. # These settings control the way Lynx parses HTML.
  1054.  
  1055. .h2 COLLAPSE_BR_TAGS
  1056. # If COLLAPSE_BR_TAGS is set FALSE, Lynx will not collapse serial BR tags.
  1057. # If set TRUE, two or more concurrent BRs will be collapsed into a single
  1058. # line break.  Note that the valid way to insert extra blank lines in HTML
  1059. # is via a PRE block with only newlines in the block.
  1060. #
  1061. #COLLAPSE_BR_TAGS:TRUE
  1062.  
  1063. .h2 TAGSOUP
  1064. # If TAGSOUP is set, Lynx uses the "Tag Soup DTD" rather than "SortaSGML".
  1065. # The two approaches differ by the style of error detection and recovery.
  1066. # Tag Soup DTD allows for improperly nested tags; SortaSGML is stricter.
  1067. #TAGSOUP:FALSE
  1068.  
  1069. .h1 Cookie Handling
  1070. # These settings control support of cookies in lynx.
  1071.  
  1072. .h2 SET_COOKIES
  1073. # If SET_COOKIES is set FALSE, Lynx will ignore Set-Cookie headers
  1074. # in http server replies.  Note that if a COOKIE_FILE is in use (see
  1075. # below) that contains cookies at startup, Lynx will still send those
  1076. # persistent cookies in requests as appropriate.  Setting SET_COOKIES
  1077. # to FALSE just prevents accepting any new cookies from servers.  To
  1078. # prevent all cookie processing (sending *and* receiving) in a session,
  1079. # make sure that PERSISTENT_COOKIES is not TRUE or that COOKIE_FILE does
  1080. # not point to a file with cookies, in addition to setting SET_COOKIES
  1081. # to FALSE.
  1082. # The default is defined in userdefs.h, and can be overridden here,
  1083. # and/or toggled via the -cookies command line switch.
  1084. #
  1085. #SET_COOKIES:TRUE
  1086.  
  1087. .h2 ACCEPT_ALL_COOKIES
  1088. # If ACCEPT_ALL_COOKIES is set TRUE, Lynx will accept cookies from all
  1089. # domains with no user interaction.  This is equivalent to automatically
  1090. # replying to all cookie 'Allow?' prompts with 'A'lways.  Note that it
  1091. # does not preempt validity checking, which has to be controlled separately
  1092. # (see below).
  1093. # The default is defined in userdefs.h and can be overridden here, or
  1094. # in the .lynxrc file via an o(ptions) screen setting.  It may also be
  1095. # toggled via the -accept_all_cookies command line switch.
  1096. #
  1097. #ACCEPT_ALL_COOKIES:FALSE
  1098.  
  1099. .h2 COOKIE_ACCEPT_DOMAINS
  1100. .h2 COOKIE_REJECT_DOMAINS
  1101. # COOKIE_ACCEPT_DOMAINS and COOKIE_REJECT_DOMAINS are comma-delimited lists
  1102. # of domains from which Lynx should automatically accept or reject cookies
  1103. # without asking for confirmation.  If the same domain is specified in both
  1104. # lists, rejection will take precedence.
  1105. # Note that in order to match cookies, domains have to be spelled out exactly
  1106. # in the form in which they would appear on the Cookie Jar page (case is
  1107. # insignificant).  They are not wildcards.  Domains that apply to more than
  1108. # one host have a leading '.', but have to match *the cookie's* domain
  1109. # exactly.
  1110. #
  1111. #COOKIE_ACCEPT_DOMAINS:
  1112. #COOKIE_REJECT_DOMAINS:
  1113.  
  1114. .h2 COOKIE_LOOSE_INVALID_DOMAINS
  1115. .h2 COOKIE_STRICT_INVALID_DOMAINS
  1116. .h2 COOKIE_QUERY_INVALID_DOMAINS
  1117. # COOKIE_LOOSE_INVALID_DOMAINS, COOKIE_STRICT_INVALID_DOMAINS, and
  1118. # COOKIE_QUERY_INVALID_DOMAINS are comma-delimited lists of domains.
  1119. # They control the degree of validity checking that is applied to cookies
  1120. # for the specified domains.
  1121. # Note that in order to match cookies, domains have to be spelled out exactly
  1122. # in the form in which they would appear on the Cookie Jar page (case is
  1123. # insignificant).  They are not wildcards.  Domains that apply to more than
  1124. # one host have a leading '.', but have to match *the cookie's* domain
  1125. # exactly.
  1126. # If a domain is set to strict checking, strict conformance to RFC2109 will
  1127. # be applied.  A domain with loose checking will be allowed to set cookies
  1128. # with an invalid path or domain attribute.  All domains will default to
  1129. # asking the user for confirmation in case of an invalid path or domain.
  1130. # Cookie validity checking takes place as a separate step before the
  1131. # final decision to accept or reject (see previous options), therefore
  1132. # a cookie that passes validity checking may still be automatically
  1133. # rejected or cause another prompt.
  1134. #
  1135. #COOKIE_LOOSE_INVALID_DOMAINS:
  1136. #COOKIE_STRICT_INVALID_DOMAINS:
  1137. #COOKIE_QUERY_INVALID_DOMAINS:
  1138.  
  1139. .h2 PERSISTENT_COOKIES
  1140. # PERSISTENT_COOKIES indicates that cookies should be read at startup from
  1141. # the COOKIE_FILE, and saved at exit for storage between Lynx sessions.
  1142. # It is not used if Lynx was compiled without EXP_PERSISTENT_COOKIES.
  1143. # The default is FALSE, so that the feature needs to be enabled here
  1144. # explicitly if you want it.
  1145. #
  1146. #PERSISTENT_COOKIES:FALSE
  1147.  
  1148. .h2 COOKIE_FILE
  1149. # COOKIE_FILE is the default file from which persistent cookies are read
  1150. # at startup (if the file exists), if Lynx was compiled with
  1151. # EXP_PERSISTENT_COOKIES and the PERSISTENT_COOKIES option is enabled.
  1152. # The cookie file can also be specified in .lynxrc or on the command line.
  1153. #
  1154. #COOKIE_FILE:~/.lynx_cookies
  1155.  
  1156. .h2 COOKIE_SAVE_FILE
  1157. # COOKIE_SAVE_FILE is the default file in which persistent cookies are
  1158. # stored at exit, if Lynx was compiled with EXP_PERSISTENT_COOKIES and the
  1159. # PERSISTENT_COOKIES option is enabled.  The cookie save file can also be
  1160. # specified on the command line.
  1161. #
  1162. # With an interactive Lynx session, COOKIE_SAVE_FILE will default to
  1163. # COOKIE_FILE if it is not set.  With a non-interactive Lynx session (e.g.,
  1164. # -dump), cookies will only be saved to file if COOKIE_SAVE_FILE is set.
  1165. #
  1166. #COOKIE_SAVE_FILE:~/.lynx_cookies
  1167.  
  1168. .h1 Mail-related
  1169. # The settings control mailing facilities of lynx.
  1170.  
  1171. .h2 SYSTEM_MAIL
  1172. .h2 SYSTEM_MAIL_FLAGS
  1173. # VMS:
  1174. # ===
  1175. # The mail command and qualifiers are defined in userdefs.h.  Lynx
  1176. # will spawn a subprocess to send replies and error messages.  The
  1177. # command, and qualifiers (if any), can be re-defined here.  If
  1178. # you use PMDF then headers will we passed via a header file.
  1179. # If you use "generic" VMS MAIL, the subject will be passed on the
  1180. # command line via a /subject="SUBJECT" qualifier, and inclusion
  1181. # of other relevant headers may not be possible.
  1182. # If your mailer uses another syntax, some hacking of the mailform()
  1183. # mailmsg() and reply_by_mail() functions in LYMail.c, and send_file_to_mail()
  1184. # function in LYPrint.c, may be required.
  1185. #
  1186. .ex 2
  1187. #SYSTEM_MAIL:PMDF SEND
  1188. #SYSTEM_MAIL_FLAGS:/headers
  1189. #
  1190. .ex 2
  1191. #SYSTEM_MAIL:MAIL
  1192. #SYSTEM_MAIL_FLAGS:
  1193. #
  1194. # Unix:
  1195. #======
  1196. # The mail path and flags normally are defined for sendmail (or submit
  1197. # with MMDF) in userdefs.h.  You can change them here, but should first
  1198. # read the zillions of CERT advisories about security problems with Unix
  1199. # mailers.
  1200. #
  1201. .ex 2
  1202. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  1203. #SYSTEM_MAIL_FLAGS:-mlruxto,cc\*
  1204. #
  1205. .ex 2
  1206. #SYSTEM_MAIL:/usr/sbin/sendmail
  1207. #SYSTEM_MAIL_FLAGS:-t -oi
  1208. #
  1209. .ex 2
  1210. #SYSTEM_MAIL:/usr/lib/sendmail
  1211. #SYSTEM_MAIL_FLAGS:-t -oi
  1212.  
  1213. # Win32:
  1214. #=======
  1215. # Please read sendmail.txt in the LYNX_W32.ZIP distribution
  1216. #
  1217. #SYSTEM_MAIL:sendmail -f me@my.host -h my.host -r my.smtp.mailer -m SMTP
  1218.  
  1219. .h2 MAIL_ADRS
  1220. # VMS ONLY:
  1221. # ========
  1222. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  1223. # IN%"INTERNET_ADDRESS" scheme.  The %s is replaced with the address given
  1224. # by the user.  If you are using a different Internet mail transport, change
  1225. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  1226. #
  1227. #MAIL_ADRS:"IN%%""%s"""
  1228.  
  1229. .h2 USE_FIXED_RECORDS
  1230. # VMS ONLY:
  1231. # ========
  1232. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  1233. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  1234. # them to disk or acting on a DOWNLOADER option.  If set to FALSE, the
  1235. # headers of such files will indicate that they are Stream_LF with Implied
  1236. # Carriage Control, which is incorrect, and can cause downloading software
  1237. # to get confused and unhappy.  If you do set it FALSE, you can use the
  1238. # FIXED512.COM command file, which is included in this distribution, to do
  1239. # the conversion externally.
  1240. #
  1241. #USE_FIXED_RECORDS:TRUE
  1242.  
  1243. .h1 Input
  1244. # These settings control the way Lynx interprets user input.
  1245.  
  1246. .h2 VI_KEYS_ALWAYS_ON
  1247. .h2 EMACS_KEYS_ALWAYS_ON
  1248. # Vi or Emacs movement keys, i.e. familiar hjkl or ^N^P^F^B .
  1249. # These are defaults, which can be changed in the Options Menu or .lynxrc .
  1250. #VI_KEYS_ALWAYS_ON:FALSE
  1251. #EMACS_KEYS_ALWAYS_ON:FALSE
  1252.  
  1253. .h2 DEFAULT_KEYPAD_MODE
  1254. # DEFAULT_KEYPAD_MODE may be set to NUMBERS_AS_ARROWS
  1255. #                                or LINKS_ARE_NUMBERED
  1256. #                                or LINKS_AND_FIELDS_ARE_NUMBERED
  1257. # to specify whether numbers (e.g. [10]) appear before all links,
  1258. # allowing immediate access by entering the number on the keyboard,
  1259. # or numbers on the numeric key-pad work like arrows;
  1260. # the 3rd option causes form fields also to be preceded by numbers.
  1261. # The first two options (but not the last) can be changed in lynx.cfg
  1262. # and all three can be changed via the Options Menu.
  1263. #
  1264. #DEFAULT_KEYPAD_MODE:NUMBERS_AS_ARROWS
  1265.  
  1266. .h2 DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS
  1267. # Obsolete form of DEFAULT_KEYPAD_MODE,
  1268. # numbers work like arrows or numbered links.
  1269. # Set to TRUE, indicates numbers act as arrows,
  1270. # and set to FALSE indicates numbers refer to numbered links on the page.
  1271. # LINKS_AND_FIELDS_ARE_NUMBERED cannot be set by this option because
  1272. # it allows only two values (true and false).
  1273. #
  1274. #DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  1275.  
  1276. .h2 CASE_SENSITIVE_ALWAYS_ON
  1277. # The default search type.
  1278. # This is a default that can be overridden by the user!
  1279. #
  1280. #CASE_SENSITIVE_ALWAYS_ON:FALSE
  1281.  
  1282. .h1 Auxiliary Facilities
  1283.  
  1284. .h2 DEFAULT_BOOKMARK_FILE
  1285. # DEFAULT_BOOKMARK_FILE is the filename used for storing personal bookmarks.
  1286. # It will be prepended by the user's home directory.
  1287. # NOTE that a file ending in .html or other suffix mapped to text/html
  1288. # should be used to ensure its treatment as HTML.  The built-in default
  1289. # is lynx_bookmarks.html.  On both Unix and VMS, if a subdirectory off of
  1290. # the HOME directory is desired, the path should begin with "./" (e.g.,
  1291. # ./BM/lynx_bookmarks.html), but the subdirectory must already exist.
  1292. # Lynx will create the bookmark file, if it does not already exist, on
  1293. # the first ADD_BOOKMARK attempt if the HOME directory is indicated
  1294. # (i.e., if the definition is just filename.html without any slashes),
  1295. # but requires a pre-existing subdirectory to create the file there.
  1296. # The user can re-define the default bookmark file, as well as a set
  1297. # of sub-bookmark files if multiple bookmark file support is enabled
  1298. # (see below), via the 'o'ptions menu, and can save those definitions
  1299. # in the .lynxrc file.
  1300. #
  1301. DEFAULT_BOOKMARK_FILE:BM.html
  1302.  
  1303. .h2 MULTI_BOOKMARK_SUPPORT
  1304. # If MULTI_BOOKMARK_SUPPORT is set TRUE, and BLOCK_MULTI_BOOKMARKS (see
  1305. # below) is FALSE, and sub-bookmarks exist, all bookmark operations will
  1306. # first prompt the user to select an active sub-bookmark file or the
  1307. # default bookmark file.  FALSE is the default so that one (the default)
  1308. # bookmark file will be available initially.  The definition here will
  1309. # override that in userdefs.h.  The user can turn on multiple bookmark
  1310. # support via the 'o'ptions menu, and can save that choice as the startup
  1311. # default via the .lynxrc file.  When on, the setting can be STANDARD or
  1312. # ADVANCED.  If SUPPORT is set to the latter, and the user mode also is
  1313. # ADVANCED, the VIEW_BOOKMARK command will invoke a statusline prompt at
  1314. # which the user can enter the letter token (A - Z) of the desired bookmark,
  1315. # or '=' to get a menu of available bookmark files.  The menu always is
  1316. # presented in NOVICE or INTERMEDIATE mode, or if the SUPPORT is set to
  1317. # STANDARD.  No prompting or menu display occurs if only one (the startup
  1318. # default) bookmark file has been defined (define additional ones via the
  1319. # 'o'ptions menu).  The startup default, however set, can be overridden on
  1320. # the command line via the -restrictions=multibook or the -anonymous or
  1321. # -validate switches.
  1322. #
  1323. #MULTI_BOOKMARK_SUPPORT:FALSE
  1324.  
  1325. .h2 BLOCK_MULTI_BOOKMARKS
  1326. # If BLOCK_MULTI_BOOKMARKS is set TRUE, multiple bookmark support will
  1327. # be forced off, and cannot to toggled on via the 'o'ptions menu.  The
  1328. # compilation setting is normally FALSE, and can be overridden here.
  1329. # It can also be set via the -restrictions=multibook or the -anonymous
  1330. # or -validate command line switches.
  1331. #
  1332. #BLOCK_MULTI_BOOKMARKS:FALSE
  1333.  
  1334. .h1 Interaction
  1335.  
  1336. .h2 DEFAULT_USER_MODE
  1337. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  1338. # NOVICE shows a three line help message at the bottom of the screen.
  1339. # INTERMEDIATE shows normal amount of help (one line).
  1340. # ADVANCED help is replaced by the URL of the current link.
  1341. #
  1342. DEFAULT_USER_MODE:ADVANCED
  1343.  
  1344. .h1 External Programs
  1345.  
  1346. .h2 DEFAULT_EDITOR
  1347. # If DEFAULT_EDITOR is defined, users may edit local documents with it
  1348. # & it will also be used for sending mail messages.
  1349. # If no editor is defined here or by the user,
  1350. # the user will not be able to edit local documents
  1351. # and a primitive line-oriented mail-input mode will be used.
  1352. #
  1353. # For sysadmins: do not define a default editor
  1354. # unless you know EVERY user will know how to use it;
  1355. # users can easily define their own editor in the Options Menu.
  1356. #
  1357. #DEFAULT_EDITOR:
  1358.  
  1359. .h2 SYSTEM_EDITOR
  1360. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR,
  1361. # except that it can't be changed by users.
  1362. #
  1363. #SYSTEM_EDITOR:
  1364.  
  1365. .h1 Internal Behavior
  1366. # These settings control internal lynx behavior - the way it interacts with the
  1367. # operating system and Internet.  Modifying these settings will not change
  1368. # the rendition of documents that you browse with lynx, but can change various
  1369. # delays and resource utilization.
  1370.  
  1371. .h2 HTTP_PROXY
  1372. .h2 HTTPS_PROXY
  1373. .h2 FTP_PROXY
  1374. .h2 GOPHER_PROXY
  1375. .h2 NEWSPOST_PROXY
  1376. .h2 NEWSREPLY_PROXY
  1377. .h2 NEWS_PROXY
  1378. .h2 NNTP_PROXY
  1379. .h2 SNEWSPOST_PROXY
  1380. .h2 SNEWSREPLY_PROXY
  1381. .h2 SNEWS_PROXY
  1382. .h2 WAIS_PROXY
  1383. .h2 FINGER_PROXY
  1384. .h2 CSO_PROXY
  1385. # Lynx version 2.2 and beyond supports the use of proxy servers that can act as
  1386. # firewall gateways and caching servers.  They are preferable to the older
  1387. # gateway servers.  Each protocol used by Lynx can be mapped separately using
  1388. # PROTOCOL_proxy environment variables (see Lynx Users Guide).  If you have not set
  1389. # them externally, you can set them at run time via this configuration file.
  1390. # They will not override external settings.  The no_proxy variable can be used
  1391. # to inhibit proxying to selected regions of the Web (see below).  Note that on
  1392. # VMS these proxy variables are set as process logicals rather than symbols, to
  1393. # preserve lowercasing, and will outlive the Lynx image.
  1394. #
  1395. .ex 15
  1396. #http_proxy:http://some.server.dom:port/
  1397. #https_proxy:http://some.server.dom:port/
  1398. #ftp_proxy:http://some.server.dom:port/
  1399. #gopher_proxy:http://some.server.dom:port/
  1400. #news_proxy:http://some.server.dom:port/
  1401. #newspost_proxy:http://some.server.dom:port/
  1402. #newsreply_proxy:http://some.server.dom:port/
  1403. #snews_proxy:http://some.server.dom:port/
  1404. #snewspost_proxy:http://some.server.dom:port/
  1405. #snewsreply_proxy:http://some.server.dom:port/
  1406. #nntp_proxy:http://some.server.dom:port/
  1407. #wais_proxy:http://some.server.dom:port/
  1408. #finger_proxy:http://some.server.dom:port/
  1409. #cso_proxy:http://some.server.dom:port/
  1410. #no_proxy:host.domain.dom
  1411.  
  1412. .h2 NO_PROXY
  1413. # The no_proxy variable can be a comma-separated list of strings defining
  1414. # no-proxy zones in the DNS domain name space.  If a tail substring of the
  1415. # domain-path for a host matches one of these strings, transactions with that
  1416. # node will not be proxied.
  1417. .ex
  1418. #no_proxy:domain.path1,path2
  1419. #
  1420. # A single asterisk as an entry will override all proxy variables and no
  1421. # transactions will be proxied.
  1422. .ex
  1423. #no_proxy:*
  1424. # This is the only allowed use of * in no_proxy.
  1425. #
  1426. # Warning:  Note that setting 'il' as an entry in this list will block proxying
  1427. # for the .mil domain as well as the .il domain.  If the entry is '.il' this
  1428. # will not happen.
  1429.  
  1430. .h1 External Programs
  1431.  
  1432. .h2 PRINTER
  1433. .h2 DOWNLOADER
  1434. .h2 UPLOADER
  1435. # PRINTER, DOWNLOADER & UPLOADER DEFINITIONS:
  1436. # Lynx has 4 pre-defined print options & 1 pre-defined download option,
  1437. # which are called up on-screen when `p' or `d' are entered;
  1438. # any number of options can be added by the user, as explained below.
  1439. # Uploaders can be defined only for UNIX with DIRED_SUPPORT:
  1440. # see the Makefile in the top directory & the header of src/LYUpload.c .
  1441. #
  1442. # For `p' pre-defined options are: `Save to local file', `E-mail the file',
  1443. # `Print to screen' and `Print to local printer attached to vt100'.
  1444. # `Print to screen' allows file transfers in the absence of alternatives
  1445. # and is often the only option allowed here for anonymous users;
  1446. # the 3rd & 4th options are not pre-defined for DOS/WINDOWS versions of Lynx.
  1447. # For `d' the pre-defined option is: `Download to local file'.
  1448. #
  1449. # To define your own print or download option use the following formats:
  1450. #
  1451. # PRINTER:<name>:<command>:<option>:<lines/page>
  1452. #
  1453. # DOWNLOADER:<name>:<command>:<option>
  1454. #
  1455. # <name>       is what you will see on the print/download screen.
  1456. #
  1457. # <command>    is the command your system will execute:
  1458. #              the 1st %s in the command will be replaced
  1459. #              by the temporary filename used by Lynx;
  1460. #              a 2nd %s will be replaced by a filename of your choice,
  1461. #              for which Lynx will prompt, offering a suggestion.
  1462. #              On Unix, which has pipes, you may use a '|' as the first
  1463. #              character of the command, and Lynx will open a pipe to
  1464. #              the command.
  1465. #              If the command format of your printer/downloader requires
  1466. #              a different layout, you will need to use a script
  1467. #              (see the last 2 download examples below).
  1468. #
  1469. # <option>     TRUE : the printer/downloader will always be ENABLED,
  1470. #              except that downloading is disabled when -validate is used;
  1471. #              FALSE : both will be DISABLED for anonymous users
  1472. #              and printing will be disabled when -noprint is used.
  1473. #
  1474. # <lines/page> (printers: optional) the number of lines/page (default 66):
  1475. #              used to compute the approximate output size
  1476. #              and prompt if the document is > 4 printer pages;
  1477. #              it uses current screen length for the computation
  1478. #              when `Print to screen' is selected.
  1479. #
  1480. # You must put the whole definition on one line;
  1481. # if you use a colon, precede it with a backslash.
  1482. #
  1483. # `Printer' can be any file-handling program you find useful,
  1484. # even if it does not physically print anything.
  1485. #
  1486. # Usually, down/up-loading involves the use of (e.g.) Ckermit or ZModem
  1487. # to transfer files to a user's local machine over a serial link,
  1488. # but download options do not have to be download-protocol programs.
  1489. #
  1490. # Printer examples:
  1491. .ex 3
  1492. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  1493. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  1494. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  1495. # If you have a very busy VMS print queue
  1496. # and Lynx deletes the temporary files before they have been queued,
  1497. # use the VMSPrint.com included in the distribution:
  1498. .ex
  1499. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  1500. # To specify a print option at run-time:
  1501. # NBB if you have ANONYMOUS users, DO NOT allow this option!
  1502. .ex
  1503. #PRINTER:Specify at run-time:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  1504. # To pass to a sophisticated file viewer: -k suppresses invocation
  1505. # of hex display mode if 8-bit or control characters are present;
  1506. # +s invokes secure mode (see ftp://space.mit.edu/pub/davis/most):
  1507. .ex
  1508. #PRINTER:Use Most to view:most -k +s %s:TRUE:23
  1509. #
  1510. # Downloader examples:
  1511. # in Kermit, -s %s is the filename sent, -a %s the filename on arrival
  1512. # (if they are given in reverse order here, the command will fail):
  1513. .ex
  1514. #DOWNLOADER:Use Kermit to download to the terminal:kermit -i -s %s -a %s:TRUE
  1515. # NB don't use -k with Most, so that binaries will invoke hexadecimal mode:
  1516. .ex
  1517. #DOWNLOADER:Use Most to view:most +s %s:TRUE
  1518. # The following example gives wrong filenames
  1519. # (`sz' doesn't support a suggested filename parameter):
  1520. .ex
  1521. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  1522. # The following example returns correct filenames
  1523. # by using a script to make a subdirectory in /tmp,
  1524. # but may conflict with very strong security or permissions restrictions:
  1525. .ex
  1526. #DOWNLOADER:Use Zmodem to download to the local terminal:set %s %s;td=/tmp/Lsz$$;mkdir $td;ln -s $1 $td/"$2";sz $td/"$2";rm -r $td:TRUE
  1527. .ex 2
  1528. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  1529. #UPLOADER:Use Zmodem to upload from your computer: rz %s:TRUE
  1530. #
  1531. # Note for OS/390: /* S/390 -- gil -- 1464 */
  1532. # The following is strongly recommended to undo ASCII->EBCDIC conversion.
  1533. .ex
  1534. #DOWNLOADER:Save OS/390 binary file: iconv -f IBM-1047 -t ISO8859-1 %s >%s:FALSE
  1535.  
  1536. .h1 Interaction
  1537.  
  1538. .h2 NO_DOT_FILES
  1539. # If NO_DOT_FILES is TRUE (normal default via userdefs.h), the user will not
  1540. # be allowed to specify files beginning with a dot in reply to output filename
  1541. # prompts, and files beginning with a dot (e.g., file://localhost/path/.lynxrc)
  1542. # will not be included in the directory browser's listings.  If set FALSE, you
  1543. # can force it to be treated as TRUE via -restrictions=dotfiles.  If set FALSE
  1544. # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  1545. # may save the preference in the RC file).
  1546. #
  1547. #NO_DOT_FILES:TRUE
  1548.  
  1549. .h1 Internal Behavior
  1550.  
  1551. .h2 NO_FROM_HEADER
  1552. # If NO_FROM_HEADER is set FALSE, From headers will be sent in transmissions
  1553. # to http or https servers if the personal_mail_address has been defined via
  1554. # the 'o'ptions menu.  The compilation default is TRUE (no From header is
  1555. # sent) and the default can be changed here.  The default can be toggled at
  1556. # run time via the -from switch.  Note that transmissions of From headers
  1557. # have become widely considered to create an invasion of privacy risk.
  1558. #
  1559. #NO_FROM_HEADER:TRUE
  1560.  
  1561. .h2 NO_REFERER_HEADER
  1562. # If NO_REFERER_HEADER is TRUE, Referer headers never will be sent in
  1563. # transmissions to servers.  Lynx normally sends the URL of the document
  1564. # from which the link was derived, but not for startfile URLs, 'g'oto
  1565. # URLs, 'j'ump shortcuts, bookmark file links, history list links, or
  1566. # URLs that include the content from form submissions with method GET.
  1567. # If left FALSE here, it can be set TRUE at run time via the -noreferer
  1568. # switch.
  1569. #
  1570. #NO_REFERER_HEADER:FALSE
  1571.  
  1572. .h1 Internal Behavior
  1573.  
  1574. .h2 NO_FILE_REFERER
  1575. # If NO_FILE_REFERER is TRUE, Referer headers never will be sent in
  1576. # transmissions to servers for links or actions derived from documents
  1577. # or forms with file URLs.  This would ensure that paths associated
  1578. # with the local file system are never indicated to servers, even if
  1579. # NO_REFERER_HEADER is FALSE.  If left FALSE here, it can be set TRUE
  1580. # at run time via the -nofilereferer switch.
  1581. #
  1582. #NO_FILE_REFERER:FALSE
  1583.  
  1584. .h2 REFERER_WITH_QUERY
  1585. # REFERER_WITH_QUERY controls what happens when the URL in a Referer
  1586. # header to be sent would contain a query part in the form of a '?'
  1587. # character followed by one or more attribute=value pairs.  Query parts
  1588. # often contain sensitive or personal information resulting from filling
  1589. # out forms, or other info that allows tracking of a user's browsing path
  1590. # through a site, an thus should not be put in a Referer header (which may
  1591. # get sent to an unrelated third-party site).  On the other hand, some
  1592. # sites (improperly) rely on browsers sending Referer headers, even when
  1593. # the user is coming from a page whose URL has a query part.
  1594. #
  1595. # If REFERER_WITH_QUERY is SEND, full Referer headers will be sent
  1596. # including the query part (unless sending of Referer is disabled in
  1597. # general, see NO_REFERER_HEADER above).  If REFERER_WITH_QUERY is
  1598. # PARTIAL, the Referer header will contain a partial URL, with the query
  1599. # part stripped off.  This is not strictly correct, but should satisfy
  1600. # those sites that check only whether the user arrived at a page from an
  1601. # "outside" link.  If REFERER_WITH_QUERY is set to DROP (or anything else
  1602. # unrecognized), the default, no Referer header is sent at all in this
  1603. # situation.
  1604. #
  1605. #REFERER_WITH_QUERY:DROP
  1606.  
  1607. .h1 Appearance
  1608.  
  1609. .h2 VERBOSE_IMAGES
  1610. # VERBOSE_IMAGES controls whether Lynx replaces [LINK], [INLINE] and [IMAGE]
  1611. # (for images without ALT) with filenames of these images.
  1612. # This can be useful in determining what images are important
  1613. # and which are mere decorations, e.g. button.gif, line.gif,
  1614. # provided the author uses meaningful names.
  1615. #
  1616. # The definition here will override the setting in userdefs.h.
  1617. #
  1618. #VERBOSE_IMAGES:TRUE
  1619.  
  1620. .h1 HTML Parsing
  1621.  
  1622. .h2 MAKE_LINKS_FOR_ALL_IMAGES
  1623. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  1624. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  1625. # strings will be links for the resolved SRC rather than just text.
  1626. # For ISMAP or other graphic links, ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  1627. # will have '-' and a link labeled "[IMAGE]" for the resolved SRC appended.
  1628. # See also VERBOSE_IMAGES flag.
  1629. #
  1630. # The definition here will override that in userdefs.h
  1631. # and can be toggled via an "-image_links" command-line switch.
  1632. # The user can also use the LYK_IMAGE_TOGGLE key (default `*')
  1633. # or `Show Images' in the Form-based Options Menu.
  1634. #
  1635. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  1636.  
  1637. .h2 MAKE_PSEUDO_ALTS_FOR_INLINES
  1638. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which don't specify
  1639. # an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  1640. # i.e. they'll be treated as having ALT="".
  1641. # Otherwise (if TRUE), pseudo-ALTs will be created for inlines,
  1642. # so that they can be used as links to the SRCs.
  1643. # See also VERBOSE_IMAGES flag.
  1644. #
  1645. # The definition here will override that in userdefs.h
  1646. # and can be toggled via a "-pseudo_inlines" command-line switch.
  1647. # The user can also use the LYK_INLINE_TOGGLE key (default `[')
  1648. # or `Show Images' in the Form-based Options Menu.
  1649. #
  1650. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  1651.  
  1652. .h1 Appearance
  1653.  
  1654. .h2 SUBSTITUTE_UNDERSCORES
  1655. # If SUBSTITUTE_UNDERSCORES is TRUE, the _underline_ format will be used
  1656. # for emphasis tags in dumps.
  1657. #
  1658. # The default defined here will override that in userdefs.h, and the user
  1659. # can toggle the default via a "-underscore" command line switch.
  1660. #
  1661. #SUBSTITUTE_UNDERSCORES:FALSE
  1662.  
  1663. .h1 Interaction
  1664.  
  1665. .h2 QUIT_DEFAULT_YES
  1666. # If QUIT_DEFAULT_YES is TRUE then when the QUIT command is entered, any
  1667. # response other than n or N will confirm.  It should be FALSE if you
  1668. # prefer the more conservative action of requiring an explicit Y or y to
  1669. # confirm.  The default defined here will override that in userdefs.h.
  1670. #
  1671. #QUIT_DEFAULT_YES:TRUE
  1672.  
  1673. .h1 HTML Parsing
  1674.  
  1675. .h2 HISTORICAL_COMMENTS
  1676. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "Historical"
  1677. # behavior of treating any '>' as a terminator for comments, instead of
  1678. # seeking a valid '-->' terminator (note that white space can be present
  1679. # between the '--' and '>' in valid terminators).  The compilation default
  1680. # is FALSE.
  1681. #
  1682. # The compilation default, or default defined here, can be toggled via a
  1683. # "-historical" command line switch, and via the LYK_HISTORICAL command key.
  1684. #
  1685. #HISTORICAL_COMMENTS:FALSE
  1686.  
  1687. .h2 MINIMAL_COMMENTS
  1688. # If MINIMAL_COMMENTS is TRUE, Lynx will not use Valid comment parsing
  1689. # of '--' pairs as serial comments within an overall comment element,
  1690. # and instead will seek only a '-->' terminator for the overall comment
  1691. # element.  This emulates the Netscape v2.0 comment parsing bug, and
  1692. # will help Lynx cope with the use of dashes as "decorations", which
  1693. # consequently has become common in so-called "Enhanced for Netscape"
  1694. # pages.  Note that setting Historical comments on will override the
  1695. # Minimal or Valid setting.
  1696. #
  1697. # The compilation default for MINIMAL_COMMENTS is FALSE, but we'll
  1698. # set it TRUE here, until Netscape gets its comment parsing right,
  1699. # and "decorative" dashes cease to be so common.
  1700. #
  1701. # The compilation default, or default defined here, can be toggled via a
  1702. # "-minimal" command line switch, and via the LYK_MINIMAL command key.
  1703. #
  1704. MINIMAL_COMMENTS:TRUE
  1705.  
  1706. .h2 SOFT_DQUOTES
  1707. # If SOFT_DQUOTES is TRUE, Lynx will emulate the invalid behavior of
  1708. # treating '>' as a co-terminator of a double-quoted attribute value
  1709. # and the tag which contains it, as was done in old versions of Netscape
  1710. # and Mosaic.  The compilation default is FALSE.
  1711. #
  1712. # The compilation default, or default defined here, can be toggled via
  1713. # a "-soft_dquotes" command line switch.
  1714. #
  1715. #SOFT_DQUOTES:FALSE
  1716.  
  1717. .h2 STRIP_DOTDOT_URLS
  1718. # If STRIP_DOTDOT_URLS is TRUE, Lynx emulates the invalid behavior of many
  1719. # browsers to strip a leading "../" segment from relative URLs in HTML
  1720. # documents with a http or https base URL, if this would otherwise lead to
  1721. # an absolute URLs with those characters still in it.  Such URLs are normally
  1722. # erroneous and not what is intended by page authors.  Lynx will issue
  1723. # a warning message when this occurs.
  1724. #
  1725. # If STRIP_DOTDOT_URLS is FALSE, Lynx will use those URLs for requests
  1726. # without taking any special actions or issuing Warnings, in most cases
  1727. # this will result in an error response from the server.
  1728. #
  1729. # Note that Lynx never tries to fix similar URLs for protocols other than
  1730. # http and https, since they are less common and may actually be valid in
  1731. # some cases.
  1732. #
  1733. #STRIP_DOTDOT_URLS:TRUE
  1734.  
  1735. .h1 Appearance
  1736.  
  1737. .h2 ENABLE_SCROLLBACK
  1738. # If ENABLE_SCROLLBACK is TRUE, Lynx will clear the entire screen before
  1739. # displaying each new screenful of text.  Though less efficient for normal
  1740. # use, this allows programs that maintain a buffer of previously-displayed
  1741. # text to recognize the continuity of what has been displayed, so that
  1742. # previous screenfuls can be reviewed by whatever method the program uses
  1743. # to scroll back through previous text.  For example, the PC comm program
  1744. # QModem has a key that can be pressed to scroll back; if ENABLE_SCROLLBACK
  1745. # is TRUE, pressing the scrollback key will access previous screenfuls which
  1746. # will have been stored on the local PC and will therefore be displayed
  1747. # instantaneously, instead of needing to be retransmitted by Lynx at the
  1748. # speed of the comm connection (but Lynx will not know about the change,
  1749. # so you must restore the last screen before resuming with Lynx commands).
  1750. #
  1751. # The compilation default is FALSE (if REVERSE_CLEAR_SCREEN_PROBLEM was not
  1752. # defined in the Unix Makefile to invoke this behavior as a workaround for
  1753. # some poor curses implementations).
  1754. #
  1755. # The default compilation or configuration setting can be toggled via an
  1756. # "-enable_scrollback" command line switch.
  1757. #
  1758. #ENABLE_SCROLLBACK:FALSE
  1759.  
  1760. .h2 SCAN_FOR_BURIED_NEWS_REFS
  1761. # If SCAN_FOR_BURIED_NEWS_REFS is set to TRUE, Lynx will scan the bodies
  1762. # of news articles for buried article and URL references and convert them
  1763. # to links.  The compilation default is TRUE, but some email addresses
  1764. # enclosed in angle brackets ("<user@address>") might be converted to false
  1765. # news links, and uuencoded messages might be corrupted.  The conversion is
  1766. # not done when the display is toggled to source or when 'd'ownloading, so
  1767. # uuencoded articles can be saved intact regardless of these settings.
  1768. #
  1769. # The default setting can be toggled via a "-buried_news" command line
  1770. # switch.
  1771. #
  1772. #SCAN_FOR_BURIED_NEWS_REFS:TRUE
  1773.  
  1774. .h2 PREPEND_BASE_TO_SOURCE
  1775. # If PREPEND_BASE_TO_SOURCE is set to FALSE, Lynx will not prepend a
  1776. # Request URL comment and BASE element to text/html source files when
  1777. # they are retrieved for 'd'ownloading or passed to 'p'rint functions.
  1778. # The compilation default is TRUE.  Note that this prepending is not
  1779. # done for -source dumps, unless the -base switch also was included on
  1780. # the command line, and the latter switch overrides the setting of the
  1781. # PREPEND_BASE_TO_SOURCE configuration variable.
  1782. #
  1783. #PREPEND_BASE_TO_SOURCE:TRUE
  1784.  
  1785. # MIME types and viewers!
  1786. #
  1787. # file extensions may be assigned to MIME types using
  1788. # the SUFFIX: definition.
  1789. #
  1790. # NOTE: It is normally preferable to define new extension mappings in
  1791. #       EXTENSION_MAP files (see below) instead of here:  Definitions
  1792. #       here are overridden by those in EXTENSION_MAP files and even by
  1793. #       some built-in defaults in src/HTInit.c.  On the other hand,
  1794. #       definitions here allow some more fields that are not possible
  1795. #       in those files.
  1796. #
  1797. #       Extension mappings have an effect mostly for ftp and local files,
  1798. #       they are NOT used to determine the type of content for URLs with
  1799. #       the http protocol.  This is because HTTP servers already specify
  1800. #       the MIME type in the Content-Type header.  [It may still be
  1801. #       necessary to set up an appropriate suffix for some MIME types,
  1802. #       even if they are accessed only via the HTTP protocol, if the viewer
  1803. #       (see below) for those MIME types requires a certain suffix for the
  1804. #       temporary file passed to it.]
  1805.  
  1806. .h1 External Programs
  1807.  
  1808. .h2 GLOBAL_EXTENSION_MAP
  1809. .h2 PERSONAL_EXTENSION_MAP
  1810. # The global and personal EXTENSION_MAP files allow you to assign extensions
  1811. # to MIME types which will override any of the suffix maps in this (lynx.cfg)
  1812. # configuration file, or in src/HTInit.c.  See the example mime.types file
  1813. # in the samples subdirectory.
  1814. #
  1815. # Unix:
  1816. # ====
  1817. #GLOBAL_EXTENSION_MAP:/lib/mosaic/mime.types
  1818. # VMS:
  1819. # ===
  1820. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  1821. #
  1822. #  Unix (sought in user's home directory):
  1823. #PERSONAL_EXTENSION_MAP:.mime.types
  1824. #  VMS (sought in user's sys$login directory):
  1825. #PERSONAL_EXTENSION_MAP:mime.types
  1826.  
  1827. .h2 SUFFIX_ORDER
  1828. # With SUFFIX_ORDER the precedence of suffix mappings can be changed.
  1829. # Two kinds of settings are recognized:
  1830. #
  1831. #    PRECEDENCE_OTHER or PRECEDENCE_HERE
  1832. #      Suffix mappings can come from four sources: (1) SUFFIX rules
  1833. #      given here - see below, (2) builtin defaults (HTInit.c), and the
  1834. #      (3) GLOBAL_EXTENSION_MAP and (4) PERSONAL_EXTENSION_MAP files.
  1835. #      The order of precedence is normally as listed: (1) has the
  1836. #      *lowest*, (4) has the *highest* precedence if there are conflicts.
  1837. #      In other words, SUFFIX mappings here are overridden by conflicting
  1838. #      ones elsewhere.  This default ordering is called PRECEDENCE_OTHER.
  1839. #      With PRECEDENCE_HERE, the order becomes (2) (3) (4) (1), i.e.
  1840. #      mappings here override others made elsewhere.
  1841. #
  1842. #    NO_BUILTIN
  1843. #      This disables all builtin default rules.  In other words, (2) in the
  1844. #      list above is skipped.  Some recognition for compressed files (".gz",
  1845. #      ".Z") is still hardwired.   A mapping for some basic types, at least
  1846. #      for text/html is probably necessary to get a usable configuration,
  1847. #      it can be given in a SUFFIX rule below or an extension map file.
  1848. # Both kinds of settings can be combined, separated by comma as in
  1849. #        SUFFIX_ORDER:PRECEDENCE_HERE,NO_BUILTIN
  1850. # Note: Using PRECEDENCE_HERE has only an effect on SUFFIX rules that follow.
  1851. # Moreover, if GLOBAL_EXTENSION_MAP or PERSONAL_EXTENSION_MAP directives
  1852. # are used, they should come *before* a SUFFIX_ORDER:PRECEDENCE_HERE.
  1853. #
  1854. #SUFFIX_ORDER:PRECEDENCE_OTHER
  1855.  
  1856. .h2 SUFFIX
  1857. # The SUFFIX definition takes the form of:
  1858. #
  1859. #    SUFFIX:<file extension>:<mime type>:<encoding>:<quality>:<description>
  1860. #
  1861. # All fields after <mime type> are optional (including the separators
  1862. # if no more fields follow).
  1863. #
  1864. #     <file extension> trailing end of file name.  This need not strictly
  1865. #                      be a file extension as understood by the OS, a dot
  1866. #                      has to be given explicitly if it is indented, for
  1867. #                      some uses one could even match full filenames here.
  1868. #                      In addition, two forms are special: "*.*" and "*"
  1869. #                      refer to the defaults for otherwise unmatched files
  1870. #                      (the first for filenames with a dot somewhere in
  1871. #                      the name, the second without), these are currently
  1872. #                      mapped to text/plain in the (HTInit.c) builtin code.
  1873. #
  1874. #     <mime type> a MIME content type.  It can also contain a charset
  1875. #                 parameter, see example below.  This should be given in
  1876. #                 all lowercase, use <description> for more fancy labels.
  1877. #                 It can be left empty if an HTTP style encoding is given.
  1878. #
  1879. # Fields in addition to the usual ones are
  1880. #
  1881. #     <encoding>  either a mail style trivial encoding (7bit, 8bit, binary)
  1882. #                 which could be used on some systems to determine how to
  1883. #                 open local files (currently it isn't), and is used to
  1884. #                 determine transfer mode for some FTP URLs; or a HTTP style
  1885. #                 content encoding (gzip (equivalent to x-gzip), compress)
  1886. #
  1887. #     <quality> a floating point quality factor, usually between 0.0 and 1.0
  1888. #               currently unused in most situations.
  1889. #
  1890. #     <description> text that can appear in FTP directory listings, and in
  1891. #                   local directory listings (see LIST_FORMAT, code %t)
  1892. #
  1893. # For instance the following definition maps the
  1894. # extension ".gif" to the mime type "image/gif"
  1895. .ex
  1896. #    SUFFIX:.gif:image/gif
  1897. #
  1898. # The following can be used if you have a convention to label
  1899. # HTML files in some character set that differs from your local
  1900. # default (see also ASSUME_LOCAL_CHARSET) with a different
  1901. # extension, here ".html-u8".  It also demonstrates use of the
  1902. # description field, note extra separators for omitted fields:
  1903. .ex
  1904. #    SUFFIX:.html-u8:text/html;charset=utf-8:::UTF-8 HTML
  1905. #
  1906. # The following shows how a suffix can indicate a combination
  1907. # of MIME type and compression method. (The ending ".ps.gz" should
  1908. # already be recognized by default; the form below could be used on
  1909. # systems that don't allow more than one dot in filenames.)
  1910. .ex
  1911. #    SUFFIX:.ps_gz:application/postscript:gzip::gzip'd Postscript
  1912. #
  1913. # The following is meant to match a full filename (but can match
  1914. # any file ending in "core", so be careful):
  1915. .ex
  1916. #    SUFFIX:core:application/x-core-file
  1917. #
  1918. # file suffixes are case INsensitive!
  1919. #
  1920. # The suffix definitions listed here in the default lynx.cfg file are
  1921. # similar to those normally established via src/HTInit.c.  You can change
  1922. # the defaults by editing that file or disable them, or via the global or
  1923. # personal mime.types files at run time (except for the additional fields).
  1924. # Assignments made here are overridden by entries in those files
  1925. # unless preceded with a SUFFIX_ORDER:PRECEDENCE_HERE.
  1926. #
  1927. .ex 29
  1928. SUFFIX:.ps:application/postscript
  1929. SUFFIX:.eps:application/postscript
  1930. SUFFIX:.ai:application/postscript
  1931. SUFFIX:.rtf:application/rtf
  1932. SUFFIX:.snd:audio/basic
  1933. SUFFIX:.gif:image/gif
  1934. SUFFIX:.rgb:image/x-rgb
  1935. SUFFIX:.png:image/png
  1936. SUFFIX:.xbm:image/x-xbitmap
  1937. SUFFIX:.tiff:image/tiff
  1938. SUFFIX:.jpg:image/jpeg
  1939. SUFFIX:.jpeg:image/jpeg
  1940. SUFFIX:.mpg:video/mpeg
  1941. SUFFIX:.mpeg:video/mpeg
  1942. SUFFIX:.mov:video/quicktime
  1943. SUFFIX:.hqx:application/mac-binhex40
  1944. SUFFIX:.bin:application/octet-stream
  1945. SUFFIX:.exe:application/octet-stream
  1946. SUFFIX:.tar:application/x-tar
  1947. SUFFIX:.tgz:application/x-tar:gzip
  1948. SUFFIX:.Z::compress
  1949. SUFFIX:.gz::gzip
  1950. SUFFIX:.bz2:application/x-bzip2
  1951. SUFFIX:.zip:application/zip
  1952. SUFFIX:.lzh:application/x-lzh
  1953. SUFFIX:.lha:application/x-lha
  1954. SUFFIX:.dms:application/x-dms
  1955. SUFFIX:.html:text/html
  1956. SUFFIX:.txt:text/plain
  1957. SUFFIX:.iff:image/iff
  1958. SUFFIX:.lzx:application/octet-stream
  1959. SUFFIX:.swf:video/shockwave
  1960.  
  1961. .h2 XLOADIMAGE_COMMAND
  1962. # VMS:
  1963. # ====
  1964. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
  1965. # for viewing image content types when the DECW$DISPLAY logical
  1966. # is set.  Make it the foreign command for your system's X image
  1967. # viewer (commonly, "xv").  It can be anything that will handle GIF,
  1968. # TIFF and other popular image formats.  Freeware ports of xv for
  1969. # VMS are available in the ftp://ftp.wku.edu/vms/unsupported and
  1970. # http://www.openvms.digital.com/cd/XV310A/ subdirectories.  You
  1971. # must also have a "%s" for the filename.  The default is defined
  1972. # in userdefs.h and can be overridden here, or via the global or
  1973. # personal mailcap files (see below).
  1974. #
  1975. # Make this empty (but no commented out) if you don't have such a
  1976. # viewer or don't want to disable the built-in default viewer
  1977. # mappings for image types.
  1978. #
  1979. #XLOADIMAGE_COMMAND:xv %s
  1980.  
  1981. # Unix:
  1982. # =====
  1983. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
  1984. # viewing image content types when the DISPLAY environment variable
  1985. # is set.  Make it the full path and name of the xli (also know as
  1986. # xloadimage or xview) command, or other image viewer.  It can be
  1987. # anything that will handle GIF, TIFF and other popular image formats
  1988. # (xli does).  The freeware distribution of xli is available in the
  1989. # ftp://ftp.x.org/contrib subdirectory.  The shareware, xv, also is
  1990. # suitable.  You must also have a "%s" for the filename; "&" for
  1991. # background is optional.  The default is defined in userdefs.h and can be
  1992. # overridden here, or via the global or personal mailcap files (see below).
  1993. # Make this empty (but not commented out) if you don't have such a
  1994. # viewer or don't want to disable the built-in default viewer
  1995. # mappings for image types.
  1996. # Note that open is used as the default for NeXT, instead of the
  1997. # XLOADIMAGE_COMMAND definition.
  1998. # If you use xli, you may want to add the -quiet flag.
  1999. #
  2000. #XLOADIMAGE_COMMAND:xli %s &
  2001.  
  2002. .h2 VIEWER
  2003. # MIME types may be assigned to external viewers using
  2004. # the VIEWER definition.
  2005. #
  2006. # NOTE: if you do not define a viewer to a new MIME type
  2007. #       that you assigned above then it will be saved to
  2008. #       disk by default.
  2009. #       It is normally preferable to define new viewers in
  2010. #       MAILCAP files (see below) instead of here:  Definitions
  2011. #       here are overridden by those in MAILCAP files and even
  2012. #       by some built-in defaults in src/HTInit.c.
  2013. #
  2014. # The VIEWER definition takes the form of:
  2015. #    VIEWER:<mime type>:<viewer command>[:environment]
  2016. #      where -mime type is the MIME content type of the file
  2017. #       -viewer command is a system command that can be
  2018. #             used to display the file where %s is replaced
  2019. #             within the command with the physical filename
  2020. #             (e.g., "ghostview %s" becomes "ghostview /tmp/temppsfile")
  2021. #            -environment is optional.  The only valid keywords
  2022. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS
  2023. #             environment is specified then the viewer will only be
  2024. #             defined when the user has the environment variable DISPLAY
  2025. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  2026. #             is specified the specified viewer will only be defined when the
  2027. #             user DOES NOT have the environment variable DISPLAY defined.
  2028. #  examples:
  2029. #     VIEWER:image/gif:xli %s:XWINDOWS
  2030. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  2031. #               VIEWER:application/start-elm:elm
  2032. #
  2033. # You must put the whole definition on one line.
  2034. #
  2035. # If you must use a colon in the viewer command, precede it with a backslash!
  2036. #
  2037. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  2038. # file are among those established via src/HTInit.c.  For the image types,
  2039. # HTInit.c uses the XLOADIMAGE_COMMAND definition in userdefs.h or above
  2040. # (open is used for NeXT).  You can change any of these defaults via the
  2041. # global or personal mailcap files.  Assignments made here will be overridden
  2042. # by entries in those files.
  2043. #
  2044. .ex 7
  2045. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  2046. #VIEWER:image/gif:xli %s&:XWINDOWS
  2047. #VIEWER:image/x-xbm:xli %s&:XWINDOWS
  2048. #VIEWER:image/png:xli %s&:XWINDOWS
  2049. #VIEWER:image/tiff:xli %s&:XWINDOWS
  2050. #VIEWER:image/jpeg:xli %s&:XWINDOWS
  2051. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  2052. #
  2053. # AMIGA USERS:
  2054. # If you've executed 'Unixdirs3 UNIXROOT', you can use normal amiga
  2055. # programs as viewers.
  2056. # If Lynx says that can't found the program, you can do this:
  2057. # - Assign <path_of_the_program_you_want_use> C: ADD
  2058. # - Use the absolute path of the program in Unix style (/dh0/gfx/amp %s)
  2059. # This is a little example:
  2060. #VIEWER:image/jpeg:/sys/graficos/tools/powerview.elf %s bestmode &
  2061. VIEWER:image/*:/sys/utilities/multiview %s SCREEN &
  2062. VIEWER:video/mpeg:/sys/graficos/tools/amp &s &
  2063. VIEWER:video/shockwave:/sys/internet/misc/swfplayer %s >/nil &
  2064. # VIEWER:video/mpeg:amp %s &
  2065.  
  2066. .h2 GLOBAL_MAILCAP
  2067. .h2 PERSONAL_MAILCAP
  2068. # The global and personal MAILCAP files allow you to specify external
  2069. # viewers to be spawned when Lynx encounters different MIME types, which
  2070. # will override any of the suffix maps in this (lynx.cfg) configuration
  2071. # file, or in src/HTInit.c.  See http://www.internic.net/rfc/rfc1524.txt
  2072. # and the example mailcap file in the samples subdirectory.
  2073. #
  2074. # Unix:
  2075. # ====
  2076. #GLOBAL_MAILCAP:/lib/mosaic/mailcap
  2077. # VMS:
  2078. # ===
  2079. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  2080. #
  2081. #  Sought in user's home (Unix) or sys$login (VMS) directory.
  2082. #PERSONAL_MAILCAP:.mailcap
  2083.  
  2084. .h1 Input
  2085.  
  2086. .h2 KEYBOARD_LAYOUT
  2087. # If your terminal (or terminal emulator, or operating system) does not
  2088. # support 8-bit input (at all or in easy way), you can use Lynx to
  2089. # generate 8-bit characters from 7-bit ones output by terminal.
  2090. #
  2091. # Currently available keyboard layouts:
  2092. #  ROT13'd keyboard layout
  2093. #  JCUKEN Cyrillic, for AT 101-key kbd
  2094. #  YAWERTY Cyrillic, for DEC LK201 kbd
  2095. #
  2096. # This feature is ifdef'd with EXP_KEYBOARD_LAYOUT.
  2097. #KEYBOARD_LAYOUT:JCUKEN Cyrillic, for AT 101-key kbd
  2098.  
  2099. .h2 KEYMAP
  2100. # Key remapping definitions!
  2101. #
  2102. # You may redefine the keymapping of any function in Lynx by
  2103. # using the KEYMAP option.  The basic form of KEYMAP is:
  2104. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  2105. # (See below for an extended format.)
  2106. #
  2107. # You must map upper and lowercase keys separately.
  2108. #
  2109. # A representative list of functions mapped to their default keys is
  2110. # provided below.  All of the mappings are commented out by default
  2111. # since they just repeat the default mappings, except for TOGGLE_HELP
  2112. # (see below).  See LYKeymap.c for the complete key mapping.  Use the
  2113. # 'K'eymap command when running Lynx for a list of the _current_ keymappings.
  2114. #
  2115. # (However, in contrast to the output of 'K' command,
  2116. # 'H'elp (lynx_help/*.html and lynx_help/keystrokes/*.html files) shows
  2117. # the default mapping unless you change that files manually,
  2118. # so you are responsible for possible deviations
  2119. # when you are changing any KEYMAP below).
  2120. .nf
  2121. #
  2122. # Keystrokes for special keys are represented by the following codes:
  2123. #         Up Arrow: 0x100
  2124. #       Down Arrow: 0x101
  2125. #      Right Arrow: 0x102
  2126. #       Left Arrow: 0x103
  2127. #        Page Down: 0x104
  2128. #          Page Up: 0x105
  2129. #      Keypad Home: 0x106 (see also 0x10A)
  2130. #       Keypad End: 0x107 (see also 0x10B)
  2131. #   Function key 1: 0x108
  2132. # vt100   Help Key: 0x108
  2133. # vt100     Do Key: 0x109
  2134. # vt100   Find Key: 0x10A (The key with label "Home" may be treated as Find)
  2135. # vt100 Select Key: 0x10B (The key with label "End" may be treated as Select)
  2136. #       Insert Key: 0x10C
  2137. # Remove (Del) Key: 0x10D
  2138. #      ignored key  0x10E (reserved for internal use, DO_NOTHING)
  2139. # Back (Shift) Tab: 0x10F
  2140. #    reserved code  0x11D (reserved for internal use with -use_mouse)
  2141. #    reserved code  0x290 (reserved for internal use with -use_mouse)
  2142. #
  2143. .fi
  2144. # Other codes not listed above may be available for additional keys,
  2145. # depending on operating system and libraries used to compile Lynx.
  2146. # On some systems, if compiled with recent versions of slang or ncurses
  2147. # (if macro USE_KEYMAPS was in effect during compilation), an additional
  2148. # level of key mapping is supported via an external ".lynx-keymaps" file.
  2149. # This file, if found in the home directory at startup, will always be
  2150. # used under those conditions; see lynx-keymaps distributed in the samples
  2151. # subdirectory for further explanation.  Note that mapping via
  2152. # .lynx-keymaps, if applicable, is a step that logically comes before the
  2153. # mappings done here: KEYMAP maps the result of that step (which still
  2154. # represents a key) to a function (which represents an action that Lynx
  2155. # should perform).
  2156. #
  2157. .nf
  2158. #KEYMAP:0x5C:SOURCE     # Toggle source viewing mode (show HTML source)
  2159. #KEYMAP:^R:RELOAD    # Reload the current document and redisplay
  2160. #KEYMAP:q:QUIT       # Ask the user to quit
  2161. #KEYMAP:Q:ABORT         # Quit without verification
  2162. #KEYMAP:0x20:NEXT_PAGE     # Move down to next page
  2163. #KEYMAP:-:PREV_PAGE     # Move up to previous page
  2164. #KEYMAP:^P:UP_TWO    # Move display up two lines
  2165. #KEYMAP:0x10C:UP_TWO    # Function key Insert - Move display up two lines
  2166. #KEYMAP:^N:DOWN_TWO     # Move display down two lines
  2167. #KEYMAP:0x10D:DOWN_TWO     # Function key Remove - Move display down two lines
  2168. #KEYMAP:(:UP_HALF    # Move display up half a page
  2169. #KEYMAP:):DOWN_HALF     # Move display down half a page
  2170. #KEYMAP:^W:REFRESH      # Refresh the screen
  2171. #KEYMAP:^A:HOME         # Go to top of current document
  2172. #KEYMAP:0x106:HOME      # Keypad Home - Go to top of current document
  2173. #KEYMAP:0x10A:HOME      # Function key Find - Go to top of current document
  2174. #KEYMAP:^E:END       # Go to bottom of current document
  2175. #KEYMAP:0x107:END    # Keypad End - Go to bottom of current document
  2176. #KEYMAP:0x10B:END    # Function key Select - Go to bottom of current document
  2177. #KEYMAP:0x100:PREV_LINK    # Move to the previous link or page
  2178. #KEYMAP:0x101:NEXT_LINK    # Move to the next link or page
  2179. #KEYMAP:0x10F:FASTBACKW_LINK  # Back Tab - Move to previous link or text area
  2180. #KEYMAP:^I:FASTFORW_LINK   # Tab key - Move always to next link or text area
  2181. #KEYMAP:^:FIRST_LINK    # Move to the first link on line
  2182. #KEYMAP:$:LAST_LINK     # Move to the last link on line
  2183. #KEYMAP:<:UP_LINK    # Move to the link above
  2184. #KEYMAP:>:DOWN_LINK     # Move to the link below
  2185. #KEYMAP:0x7F:HISTORY    # Show the history list
  2186. #KEYMAP:0x08:HISTORY    # Show the history list
  2187. #KEYMAP:0x103:PREV_DOC     # Return to the previous document in history stack
  2188. #KEYMAP:0x102:ACTIVATE     # Select the current link
  2189. #KEYMAP:0x109:ACTIVATE     # Function key Do - Select the current link
  2190. #KEYMAP:g:GOTO       # Goto a random URL
  2191. #KEYMAP:G:ECGOTO     # Edit the current document's URL and go to it
  2192. #KEYMAP:H:HELP       # Show default help screen
  2193. #KEYMAP:0x108:DWIMHELP     # Function key Help - Show a help screen
  2194. #KEYMAP:i:INDEX         # Show default index
  2195. #*** Edit FORM_LINK_* messages in LYMessages_en.h if you change NOCACHE ***
  2196. #KEYMAP:x:NOCACHE    # Force submission of form or link with no-cache
  2197. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  2198. #KEYMAP:z:INTERRUPT     # Interrupt network transmission
  2199. #KEYMAP:m:MAIN_MENU     # Return to the main menu
  2200. #KEYMAP:o:OPTIONS    # Show the options menu
  2201. #KEYMAP:i:INDEX_SEARCH     # Search a server based index
  2202. #KEYMAP:/:WHEREIS    # Find a string within the current document
  2203. #KEYMAP:n:NEXT       # Find next occurrence of string within document
  2204. #KEYMAP:c:COMMENT    # Comment to the author of the current document
  2205. #KEYMAP:e:EDIT       # Edit current document or form's textarea (call: ^Ve)
  2206. #KEYMAP:E:ELGOTO     # Edit the current link's URL or ACTION and go to it
  2207. #KEYMAP:=:INFO       # Show info about current document
  2208. #KEYMAP:p:PRINT         # Show print options
  2209. #KEYMAP:a:ADD_BOOKMARK     # Add current document to bookmark list
  2210. #KEYMAP:v:VIEW_BOOKMARK    # View the bookmark list
  2211. #KEYMAP:V:VLINKS     # List links visited during the current Lynx session
  2212. #KEYMAP:!:SHELL         # Spawn default shell
  2213. #KEYMAP:d:DOWNLOAD      # Download current link
  2214. #KEYMAP:j:JUMP       # Jump to a predefined target
  2215. #KEYMAP:k:KEYMAP     # Display the current key map
  2216. #KEYMAP:l:LIST       # List the references (links) in the current document
  2217. #KEYMAP:#:TOOLBAR    # Go to the Toolbar or Banner in the current document
  2218. #KEYMAP:^T:TRACE_TOGGLE    # Toggle detailed tracing for debugging
  2219. #KEYMAP:;:TRACE_LOG     # View trace log if available for the current session
  2220. #KEYMAP:*:IMAGE_TOGGLE     # Toggle inclusion of links for all images
  2221. #KEYMAP:[:INLINE_TOGGLE    # Toggle pseudo-ALTs for inlines with no ALT string
  2222. #KEYMAP:]:HEAD       # Send a HEAD request for current document or link
  2223. #*** Must be compiled with USE_EXTERNALS to enable EXTERN ***
  2224. #KEYMAP:.:EXTERN     # Run external program with url
  2225. #*** Escaping from text input fields with ^V is independent from this: ***
  2226. #KEYMAP:^V:SWITCH_DTD      # Toggle between SortaSGML and TagSoup HTML parsing
  2227. #KEYMAP:0x00:DO_NOTHING    # Does nothing (ignore this key)
  2228. #KEYMAP:0x10E:DO_NOTHING   # Does nothing (ignore this key)
  2229. #
  2230. .fi
  2231. # In addition to the bindings available by default, the following functions
  2232. # are not directly mapped to any keys by default, although some of them may
  2233. # be mapped in specific line-editor bindings (effective while in text input
  2234. # fields):
  2235. .nf
  2236. #
  2237. #KEYMAP:???:RIGHT_LINK     # Move to the link to the right
  2238. #KEYMAP:???:LEFT_LINK      # Move to the link to the left
  2239. #KEYMAP:???:LPOS_PREV_LINK # Like PREV_LINK, last column pos if form input
  2240. #KEYMAP:???:LPOS_NEXT_LINK # Like NEXT_LINK, last column pos if form input
  2241. #*** Only useful in form text fields , need PASS or prefixing with ^V: ***
  2242. #KEYMAP:???:DWIMHELP    # Display help page that may depend on context
  2243. #KEYMAP:???:DWIMEDIT    # Use external editor for context-dependent purpose
  2244. #*** Only useful in a form textarea, need PASS or prefixing with ^V: ***
  2245. #KEYMAP:???:EDITTEXTAREA   # use external editor to edit a form textarea
  2246. #KEYMAP:???:GROWTEXTAREA   # Add some blank lines to bottom of textarea
  2247. #KEYMAP:???:INSERTFILE     # Insert file into a textarea (just above cursor)
  2248. #*** Only useful with dired support and OK_INSTALL: ***
  2249. #KEYMAP:???:INSTALL     # install (i.e. copy) local files to new location
  2250. .fi
  2251. #
  2252. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  2253. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  2254. # LYMessages_en.h  Otherwise, it will be NOVICE_LINE_TWO.
  2255. #
  2256. #KEYMAP:O:TOGGLE_HELP      # Show other commands in the novice help menu
  2257. #
  2258. # KEYMAP lines can have one or two additional fields.  The extended format is
  2259. #  KEYMAP:<KEYSTROKE>:[<MAIN LYNX FUNCTION>]:<OTHER BINDING>[:<SELECT>]
  2260. #
  2261. # If the additional field OTHER BINDING specifies DIRED, then the function is
  2262. # mapped in the override table used only in DIRED mode.  This is only valid
  2263. # if lynx was compiled with dired support and OK_OVERRIDE defined.  A
  2264. # MAIN LYNX FUNCTION must be given (it should of course be one that makes
  2265. # sense in Dired mode), and SELECT is meaningless.  Default built-in override
  2266. # mappings are
  2267. #
  2268. #KEYMAP:^U:PREV_DOC:DIRED  # Return to the previous document
  2269. #KEYMAP:.:TAG_LINK:DIRED   # Tag a file or directory for later action
  2270. #KEYMAP:c:CREATE:DIRED     # Create a new file or directory
  2271. #KEYMAP:f:DIRED_MENU:DIRED # Display a menu of file operations
  2272. #KEYMAP:m:MODIFY:DIRED     # Modify name or location of a file or directory
  2273. #KEYMAP:r:REMOVE:DIRED     # Remove files or directories
  2274. #KEYMAP:t:TAG_LINK:DIRED   # Tag a file or directory for later action
  2275. #KEYMAP:u:UPLOAD:DIRED     # Show menu of "Upload Options"
  2276. #
  2277. # If the OTHER BINDING field does not specify DIRED, then it is taken as a
  2278. # line-editor action.  It is possible to keep the MAIN LYNX FUNCTION field
  2279. # empty in that case, for changing only the line-editing behavior.
  2280. # If alternative line edit styles are compiled in, and modifying a key's
  2281. # line-editor binding on a per style basis is possible, then SELECT can be
  2282. # used to specify which styles are affected.  By default, or if SELECT is
  2283. # 0, all line edit styles are affected.  If SELECT is a positive integer
  2284. # number, only the binding for the numbered style is changed (numbering
  2285. # is in the order in which styles are shown in the Options Menu, starting
  2286. # with 1 for the Default style).  If SELECT is negative (-n), all styles
  2287. # except n are affected.
  2288. .nf
  2289. #
  2290. #  NOP      # Do Nothing
  2291. #  ABORT # Input cancelled
  2292. #
  2293. #  BOL      # Go to begin of line
  2294. #  EOL      # Go to end   of line
  2295. #  FORW     # Cursor forwards
  2296. #  BACK     # Cursor backwards
  2297. #  FORWW # Word forward
  2298. #  BACKW # Word back
  2299. #
  2300. #  DELN     # Delete next/curr char
  2301. #  DELP     # Delete prev      char
  2302. #  DELNW # Delete next word
  2303. #  DELPW # Delete prev word
  2304. #  DELBL # Delete back to BOL
  2305. #  DELEL # Delete thru EOL
  2306. #  ERASE # Erase the line
  2307. #  LOWER # Lower case the line
  2308. #  UPPER # Upper case the line
  2309. #
  2310. #  LKCMD # In fields: Invoke key command prompt (default for ^V)
  2311. #  PASS     # In fields: handle as non-lineedit key; in prompts: ignore
  2312. #
  2313. .fi
  2314. # Modify following key (prefixing only works within line-editing, edit actions
  2315. # of some resulting prefixed keys are built-in, see Line Editor help pages)
  2316. #  SETM1 # Set modifier 1 flag (default for ^X - key prefix)
  2317. #  SETM2 # Set modifier 2 flag (another key prefix - same effect)
  2318. #
  2319. # May not always be compiled in:
  2320. .nf
  2321. #
  2322. #  TPOS     # Transpose characters
  2323. #  SETMARK  # emacs-like set-mark-command
  2324. #  XPMARK   # emacs-like exchange-point-and-mark
  2325. #  KILLREG  # emacs-like kill-region
  2326. #  YANK     # emacs-like yank
  2327. #  SWMAP # Switch input keymap
  2328. #  PASTE # ClipBoard to Lynx - Windows Extension
  2329. #
  2330. .fi
  2331. # May work differently from expected if not bound to their expected keys:
  2332. .nf
  2333. #
  2334. #  CHAR     # Insert printable char (default for all ASCII printable)
  2335. #  ENTER # Input complete, return char/lynxkeycode (for RETURN/ENTER)
  2336. #  TAB      # Input complete, return TAB (for ASCII TAB char ^I)
  2337. #
  2338. .fi
  2339. # Internal use, probably not useful for binding, listed for completeness:
  2340. .nf
  2341. #
  2342. #  UNMOD # Fall back to no-modifier command
  2343. #  AIX      # Hex 97
  2344. #  C1CHAR   # Insert C1 char if printable
  2345. #
  2346. .fi
  2347. # If OTHER BINDING specifies PASS, then if the key is pressed in a text input
  2348. # field it is passed by the built-in line-editor to normal KEYMAP handling,
  2349. # i.e. this flag acts like an implied ^V escape (always overrides line-editor
  2350. # behavior of the key).  For example,
  2351. #KEYMAP:0x10C:UP_TWO:PASS # Function key Insert - Move display up two lines
  2352. #
  2353. # Other examples (repeating built-in bindings)
  2354. #KEYMAP:^V::LKCMD # set (only) line-edit action for ^V
  2355. #KEYMAP:^V:SWITCH_DTD:LKCMD # set main lynxaction and line-edit action for ^V
  2356. #KEYMAP:^U::ERASE:1  # set line-edit binding for ^U, for default style
  2357. #KEYMAP:^[::SETM2:3  # use escape key as modifier - works only sometimes
  2358.  
  2359. .h2 JUMPFILE
  2360. # Alternate jumps files can be defined and mapped to keys here.  If the
  2361. # keys have already been mapped, then those mappings will be replaced,
  2362. # but you should leave at least one key mapped to the default jumps
  2363. # file.  You optionally may include a statusline prompt string for the
  2364. # mapping.  You must map upper and lowercase keys separately (beware of
  2365. # mappings to keys which the user can further remap via the 'o'ptions
  2366. # menu).  The format is:
  2367. #
  2368. #  JUMPFILE:path:key[:prompt]
  2369. #
  2370. # where path should begin with a '/' (i.e., not include file://localhost).
  2371. # Any white space following a prompt string will be trimmed, and a single
  2372. # space will be added by Lynx.
  2373. .ex
  2374. #JUMPFILE:/Lynx_Dir/ips.html:i:IP or Interest group (? for list):
  2375.  
  2376. .h1 External Programs
  2377. # These settings control the ability of Lynx to invoke various programs for
  2378. # the user.
  2379.  
  2380. .h2 CSWING_PATH
  2381. # VMS ONLY:
  2382. #==========
  2383. # On VMS, CSwing (an XTree emulation for VTxxx terminals) is intended for
  2384. # use as the Directory/File Manager (sources, objects, or executables are
  2385. # available from ftp://narnia.memst.edu/).  CSWING_PATH should be defined
  2386. # here or in userdefs.h to your foreign command for CSwing, with any
  2387. # regulatory switches you want included.  If not defined, or defined as
  2388. # a zero-length string ("") or "none" (case-insensitive), the support
  2389. # will be disabled.  It will also be disabled if the -nobrowse or
  2390. # -selective switches are used, or if the file_url restriction is set.
  2391. #
  2392. # When enabled, the DIRED_MENU command (normally 'f' or 'F') will invoke
  2393. # CSwing, normally with the current default directory as an argument to
  2394. # position the user on that node of the directory tree.  However, if the
  2395. # current document is a local directory listing, or a local file and not
  2396. # one of the temporary menu or list files, the associated directory will
  2397. # be passed as an argument, to position the user on that node of the tree.
  2398. #
  2399. #CSWING_PATH:swing
  2400.  
  2401. .h1 Internal Behavior
  2402.  
  2403. # AUTO_UNCACHE_DIRLISTS determines when local file directory listings are
  2404. # automatically regenerated (by re-reading the actual directory from disk). 
  2405. # Set the value to 0 to avoid automatic regeneration in most cases.  This is
  2406. # useful for browsing large directories that take some time to read and format. 
  2407. # An update can still always be forced with the RELOAD key, and specific DIRED
  2408. # actions may cause a refresh anyway.  Set the value to 1 to force regeneration
  2409. # after commands that usually change the directory or some files and would make
  2410. # the displayed info stale, like EDIT and REMOVE.  Set it to 2 (the default) or
  2411. # greater to force regeneration even after leaving the displayed directory
  2412. # listing by some action that usually causes no change, like GOTO or entering a
  2413. # file with the ACTIVATE key.  This option is only honored in DIRED mode (i.e. 
  2414. # when lynx is compiled with DIRED_SUPPORT and it is not disabled with a
  2415. # -restriction).  Local directories displayed without DIRED normally act as if
  2416. # AUTO_UNCACHE_DIRLISTS:0 was in effect.
  2417. #
  2418. #AUTO_UNCACHE_DIRLISTS:2
  2419.  
  2420. .h1 Appearance
  2421.  
  2422. .h2 LIST_FORMAT
  2423. # Unix ONLY:
  2424. #===========
  2425. # LIST_FORMAT defines the display for local files when Lynx has been
  2426. # compiled with LONG_LIST defined in the Makefile.  The default is set
  2427. # in userdefs.h, normally to "ls -l" format, and can be changed here
  2428. # by uncommenting the indicated lines, or adding a definition with a
  2429. # modified parameter list.
  2430. #
  2431. # The percent items in the list are interpreted as follows:
  2432. .nf
  2433. #
  2434. #  %p Unix-style permission bits
  2435. #  %l link count
  2436. #  %o owner of file
  2437. #  %g group of file
  2438. #  %d date of last modification
  2439. #  %a anchor pointing to file or directory
  2440. #  %A as above but don't show symbolic links
  2441. #  %t type of file (description derived from MIME type)
  2442. #  %T MIME type as known by Lynx (from mime.types or default)
  2443. #  %k size of file in Kilobytes
  2444. #  %K as above but omit size for directories
  2445. #  %s size of file in bytes
  2446. #
  2447. .fi
  2448. # Anything between the percent and the letter is passed on to sprintf.
  2449. # A double percent yields a literal percent on output.  Other characters
  2450. # are passed through literally.
  2451. #
  2452. # If you want only the filename:
  2453. #
  2454. .ex
  2455. #LIST_FORMAT:    %a
  2456. #
  2457. # If you want a brief output:
  2458. #
  2459. .ex
  2460. #LIST_FORMAT:   %4K %-12.12d %a
  2461. #
  2462. # If you want the Unix "ls -l" format:
  2463. #
  2464. .ex
  2465. #LIST_FORMAT:    %p %4l %-8.8o %-8.8g %7s %-12.12d %a
  2466.  
  2467. .h1 External Programs
  2468.  
  2469. .h2 DIRED_MENU
  2470. # Unix ONLY:
  2471. #===========
  2472. # DIRED_MENU items are used to compose the F)ull menu list in DIRED mode
  2473. # The behavior of the default configuration given here is much the same
  2474. # as it was when this menu was hard-coded but these items can now be adjusted
  2475. # to suit local needs.  In particular, many of the LYNXDIRED actions can be
  2476. # replaced with lynxexec, lynxprog and lynxcgi script references.
  2477. #
  2478. # NOTE that defining even one DIRED_MENU line overrides all the built-in
  2479. # definitions, so a complete set must then be defined here.
  2480. #
  2481. # Each line consists of the following fields:
  2482. .nf
  2483. #
  2484. #  DIRED_MENU:type:suffix:link text:extra text:action
  2485. #
  2486. #  type: TAG:   list only when one or more files are tagged
  2487. #        FILE:  list only when the current selection is a regular file
  2488. #        DIR:   list only when the current selection is a directory
  2489. #        LINK:  list only when the current selection is a symbolic link
  2490. #
  2491. #  suffix:  list only if the current selection ends in this pattern
  2492. #
  2493. #  link text:  the displayed text of the link
  2494. #
  2495. #  extra text:  the text displayed following the link
  2496. #
  2497. #  action:  the URL to be followed upon selection
  2498. #
  2499. #  link text and action are scanned for % sequences that are expanded
  2500. #  at display time as follows:
  2501. #
  2502. #     %p  path of current selection
  2503. #     %f  filename (last component) of current selection
  2504. #     %t  tagged list (full paths)
  2505. #     %l  list of tagged file names
  2506. #     %d  the current directory
  2507. #
  2508. .fi
  2509. #DIRED_MENU:::New File:(in current directory):LYNXDIRED://NEW_FILE%d
  2510. #DIRED_MENU:::New Directory:(in current directory):LYNXDIRED://NEW_FOLDER%d
  2511.  
  2512. # Following depends on OK_INSTALL
  2513. #DIRED_MENU:FILE::Install:selected file to new location:LYNXDIRED://INSTALL_SRC%p
  2514. #DIRED_MENU:DIR::Install:selected directory to new location:LYNXDIRED://INSTALL_SRC%p
  2515.  
  2516. #DIRED_MENU:FILE::Modify File Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2517. #DIRED_MENU:DIR::Modify Directory Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2518. #DIRED_MENU:LINK::Modify Name:(of selected symbolic link):LYNXDIRED://MODIFY_NAME%p
  2519.  
  2520. # Following depends on OK_PERMIT
  2521. #DIRED_MENU:FILE::Modify File Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2522. #DIRED_MENU:DIR::Modify Directory Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2523.  
  2524. #DIRED_MENU:FILE::Change Location:(of selected file):LYNXDIRED://MODIFY_LOCATION%p
  2525. #DIRED_MENU:DIR::Change Location:(of selected directory):LYNXDIRED://MODIFY_LOCATION%p
  2526. #DIRED_MENU:LINK::Change Location:(of selected symbolic link):LYNXDIRED://MODIFY_LOCATION%p
  2527. #DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2528. #DIRED_MENU:DIR::Remove Directory:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2529. #DIRED_MENU:LINK::Remove Symbolic Link:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2530.  
  2531. # Following depends on OK_UUDECODE and !ARCHIVE_ONLY
  2532. #DIRED_MENU:FILE::UUDecode:(current selection):LYNXDIRED://UUDECODE%p
  2533.  
  2534. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2535. #DIRED_MENU:FILE:.tar.Z:Expand:(current selection):LYNXDIRED://UNTAR_Z%p
  2536.  
  2537. # Following depend on OK_TAR and OK_GZIP and !ARCHIVE_ONLY
  2538. #DIRED_MENU:FILE:.tar.gz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2539. #DIRED_MENU:FILE:.tgz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2540.  
  2541. # Following depends on !ARCHIVE_ONLY
  2542. #DIRED_MENU:FILE:.Z:Uncompress:(current selection):LYNXDIRED://DECOMPRESS%p
  2543.  
  2544. # Following depends on OK_GZIP and !ARCHIVE_ONLY
  2545. #DIRED_MENU:FILE:.gz:Uncompress:(current selection):LYNXDIRED://UNGZIP%p
  2546.  
  2547. # Following depends on OK_ZIP and !ARCHIVE_ONLY
  2548. #DIRED_MENU:FILE:.zip:Uncompress:(current selection):LYNXDIRED://UNZIP%p
  2549.  
  2550. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2551. #DIRED_MENU:FILE:.tar:UnTar:(current selection):LYNXDIRED://UNTAR%p
  2552.  
  2553. # Following depends on OK_TAR
  2554. #DIRED_MENU:DIR::Tar:(current selection):LYNXDIRED://TAR%p
  2555.  
  2556. # Following depends on OK_TAR and OK_GZIP
  2557. #DIRED_MENU:DIR::Tar and compress:(using GNU gzip):LYNXDIRED://TAR_GZ%p
  2558.  
  2559. # Following depends on OK_ZIP
  2560. #DIRED_MENU:DIR::Package and compress:(using zip):LYNXDIRED://ZIP%p
  2561.  
  2562. #DIRED_MENU:FILE::Compress:(using Unix compress):LYNXDIRED://COMPRESS%p
  2563.  
  2564. # Following depends on OK_GZIP
  2565. #DIRED_MENU:FILE::Compress:(using gzip):LYNXDIRED://GZIP%p
  2566.  
  2567. # Following depends on OK_ZIP
  2568. #DIRED_MENU:FILE::Compress:(using zip):LYNXDIRED://ZIP%p
  2569.  
  2570. #DIRED_MENU:TAG::Move all tagged items to another location.::LYNXDIRED://MOVE_TAGGED%d
  2571.  
  2572. # Following depends on OK_INSTALL
  2573. #DIRED_MENU:TAG::Install tagged files into another directory.::LYNXDIRED://INSTALL_SRC%00
  2574.  
  2575. #DIRED_MENU:TAG::Remove all tagged files and directories.::LYNXDIRED://REMOVE_TAGGED
  2576. #DIRED_MENU:TAG::Untag all tagged items.::LYNXDIRED://CLEAR_TAGGED
  2577.  
  2578. .h1 Internal Behavior
  2579.  
  2580. .h2 NONRESTARTING_SIGWINCH
  2581. # Some systems only:
  2582. #===================
  2583. # Lynx tries to detect window size changes with a signal handler for
  2584. # SIGWINCH if supported.  If NONRESTARTING_SIGWINCH is set to TRUE,
  2585. # and the sigaction interface is available on the system, the handler
  2586. # is installed as 'non-restarting'.  On some systems (depending on the
  2587. # library used for handling keyboard input, e.g. ncurses), this allows
  2588. # more immediate notification of window size change events.  If the value
  2589. # is set to FALSE, the signal() interface is used; this normally makes
  2590. # the handler 'restarting', with the effect that lynx can react to size
  2591. # changes only after some key is pressed.  The value can also be set to
  2592. # XWINDOWS; this is equivalent to TRUE when the user has the environment
  2593. # variable DISPLAY defined *at program start*, and equivalent to FALSE
  2594. # otherwise.  The non-restarting behavior can also be changed to TRUE
  2595. # or FALSE with the -nonrestarting_sigwinch switch, which overrides the
  2596. # value in this file.
  2597. #
  2598. # Note that Lynx never re-parses document text purely as a result of a
  2599. # window size change, so text lines may appear truncated after narrowing
  2600. # the window, until the document is reloaded with ^R or a similar key
  2601. # or until a different text is loaded.
  2602. #
  2603. # The default is FALSE since there is a possibility that non-restarting
  2604. # interrupts may be mis-interpreted as fatal input errors in some
  2605. # configurations (leading to an abrupt program exit), and since this
  2606. # option is useful mostly only for users running Lynx under xterm or a
  2607. # similar X terminal emulator.  On systems where the preconditions don't
  2608. # apply this option is ignored.
  2609. #
  2610. #NONRESTARTING_SIGWINCH:FALSE
  2611.  
  2612. .h2 NO_FORCED_CORE_DUMP
  2613. # Unix ONLY:
  2614. #===========
  2615. # If NO_FORCED_CORE_DUMP is set to TRUE, Lynx will not force
  2616. # core dumps via abort() calls on fatal errors or assert()
  2617. # calls to check potentially fatal errors.  The compilation
  2618. # default normally is FALSE, and can be changed here.  The
  2619. # compilation or configuration default can be toggled via
  2620. # the -core command line switch.
  2621. # Note that this setting cannot be used to prevent core dumps
  2622. # with certainty.  If this is important, means provided by the
  2623. # operating system or kernel should be used.
  2624. #
  2625. #NO_FORCED_CORE_DUMP:FALSE
  2626.  
  2627. .h1 Appearance
  2628.  
  2629. .h2 COLOR
  2630. # COLORS (only available if compiled with SVr4 curses or slang)
  2631. #
  2632. # The line must be of the form:
  2633. #
  2634. # COLOR:Integer:Foreground:Background
  2635. .nf
  2636. #
  2637. # The Integer value is interpreted as follows:
  2638. #   0 - normal                      - normal text
  2639. #   1 - bold                        - hyperlinks, see also BOLD_* options above
  2640. #   2 - reverse                     - statusline
  2641. #   3 - bold + reverse              (not used)
  2642. #   4 - underline                   - text emphasis (EM, I, B tags etc.)
  2643. #   5 - bold + underline            - hyperlinks within text emphasis
  2644. #   6 - reverse + underline         - currently selected hyperlink
  2645. #   7 - reverse + underline + bold  - WHEREIS search hits
  2646. #
  2647. # Each Foreground and Background value must be one of:
  2648. #   black         red            green         brown
  2649. #   blue          magenta        cyan          lightgray
  2650. #   gray          brightred      brightgreen   yellow
  2651. #   brightblue    brightmagenta  brightcyan    white
  2652. #
  2653. .fi
  2654. # or (if you have configured using --enable-default-colors with ncurses or
  2655. # slang), "default" may be used for foreground and background.
  2656. #
  2657. # Uncomment and change any of the compilation defaults.
  2658. #
  2659. #COLOR:0:black:white
  2660. #COLOR:1:blue:white
  2661. #COLOR:2:yellow:blue
  2662. #COLOR:3:green:white
  2663. #COLOR:4:magenta:white
  2664. #COLOR:5:blue:white
  2665. #COLOR:6:red:white
  2666. #COLOR:7:magenta:cyan
  2667. #
  2668. # AMIGA USERS:
  2669. # I've found that black,red,green and brown correspond to the first four
  2670. # palette colors; blue, magenta, cyan and lightgray to the last
  2671. # ones; gray, brightred, brightgreen, and yellow to the second four colors,
  2672. # and brightblue, brightmagenta, brightcyan, and white to the third four
  2673. # ones. (The amiga-f terminal can use up to 16 colours)
  2674. # I've set the following COLOR definitions to work fine in
  2675. # my 8-Color WB, but modify it if you don't like it doesn't
  2676. # match with your palette preset.
  2677. #
  2678. COLOR:0:red:black
  2679. COLOR:1:brown:black
  2680. COLOR:2:red:green
  2681. COLOR:3:green:black
  2682. COLOR:4:red:lightgray
  2683. COLOR:5:green:brown
  2684. COLOR:6:brown:green
  2685. COLOR:7:lightgray:brown
  2686.  
  2687. .h1 External Programs
  2688.  
  2689. .h2 EXTERNAL
  2690. # External application support.  This feature allows Lynx to pass a given
  2691. # URL to an external program.  It was written for three reasons.
  2692. #
  2693. # 1) To overcome the deficiency  of Lynx_386 not supporting ftp and news.
  2694. #    External programs can be used instead by passing the URL.
  2695. #
  2696. # 2) To allow for background  transfers in multitasking systems.
  2697. #    I use wget for http and ftp transfers via the external command.
  2698. #
  2699. # 3) To allow for new URLs to be used through Lynx.
  2700. #    URLs can be made up such as mymail: to spawn desired applications
  2701. #    via the external command.
  2702. #
  2703. # Restrictions can be imposed using -restrictions=externals at the Lynx
  2704. # command line.  This will disallow all EXTERNAL lines in lynx.cfg that
  2705. # end in FALSE.  TRUE lines will still function.
  2706. #
  2707. # The lynx.cfg line is as follows:
  2708. #
  2709. # EXTERNAL:<url>:<command> %s:<norestriction>
  2710. #
  2711. # <url> Any given URL.  This can be normal ones like ftp or http or it
  2712. # can be one made up like mymail.
  2713. #
  2714. # <command> The command to run with %s being the URL that will be passed.
  2715. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for
  2716. # downloading http and ftp files in the background.  In Win95 I use
  2717. # "start ncftp %s" to spawn ncftp in a new window.
  2718. #
  2719. # <norestriction> This complements the -restrictions=externals feature to allow
  2720. # for certain externals to be enabled while restricting others.  TRUE means
  2721. # a command will still function while Lynx is restricted.  WB
  2722. #
  2723. # For invoking the command use the EXTERN key.  By default it is mapped
  2724. # to '.' (if the feature is enabled), see the KEYMAP section above.
  2725. #
  2726. #EXTERNAL:ftp:wget %s &:TRUE
  2727. EXTERNAL:http:wget -q %s &:TRUE
  2728. EXTERNAL:ftp:wget -q %s &:TRUE
  2729.  
  2730. .h1 Internal Behavior
  2731.  
  2732. .h2 RULE
  2733. # CERN-style rules, EXPERIMENTAL  -  URL-specific rules
  2734. #
  2735. # A CERN-style rules file can be given with RULESFILE.  Use the system's
  2736. # native format for filenames, on Unix '~' is also recognized.  If a filename
  2737. # is given, the file must exist.
  2738. #
  2739. # Single CERN-style rules can be specified with RULES.
  2740. #
  2741. # Both options can be repeated, rules accumulate in the order
  2742. # given, they will be applied in first-to-last order.  See cernrules.txt
  2743. # in the samples subdirectory for further explanation.
  2744. #
  2745. # Examples:
  2746. #  RULESFILE:/etc/lynx/cernrules
  2747. #  RULE:Fail   gopher:*         # reject by scheme
  2748. #  RULE:Pass   finger://*@localhost/        # allow this,
  2749. #  RULE:Fail   finger:*         # but not others
  2750. #  RULE:Redirect  http://old.server/*  http://new.server/*
  2751.  
  2752. .h1 Appearance
  2753.  
  2754. .h2 HTMLSRC_ATTRNAME_XFORM
  2755. .h2 HTMLSRC_TAGNAME_XFORM
  2756. .h2 PRETTYSRC_SPEC
  2757. # Pretty source view settings. These settings are in effect when -prettysrc
  2758. # is specified.
  2759. # The following lexical elements (lexemes) are recognized:
  2760. # comment, tag, attribute, attribute value, generalized angle brackets (
  2761. # '<' '>' '</' ), entity, hyperlink destination, entire file, bad sequence,
  2762. # bad tag, bad attribute, sgml special.
  2763. #  The following group of option tells which styles will surround each
  2764. # lexeme. The syntax of option in this group is:
  2765. #PRETTYSRC_SPEC:<LEXEMENAME>:<TAGSPEC>:<TAGSPEC>
  2766. # The first <TAGSPEC> specifies what tags will precede lexemes of that class
  2767. # in the internal html markup. The second - what will be placed (internally)
  2768. # after it.
  2769. # TAGSPEC has the following syntax:
  2770. # <TAGSPEC>:= [ (<TAGOPEN> | <TAGCLOSE>) <SPACE>+ ]*
  2771. # <TAGOPEN>:= tagname[.classname]
  2772. # <TAGCLOSE>:= !tagname
  2773. #
  2774. # The following table gives correspondence between lexeme and lexeme name
  2775. .nf
  2776. # Lexeme                   LEXEMENAME  FURTHER EXPLANATION
  2777. # =========================================================
  2778. # comment                  COMM
  2779. # tag                      TAG         recognized tag name only
  2780. # attribute                ATTRIB
  2781. # attribute value          ATTRVAL
  2782. # generalized brackets     ABRACKET    <  >  </
  2783. # entity                   ENTITY
  2784. # hyperlink destination    HREF
  2785. # entire file              ENTIRE
  2786. # bad sequence             BADSEQ      bad entity or invalid construct at text
  2787. #                                      level.
  2788. # bad tag                  BADTAG      Unrecognized construct in generalized
  2789. #                                      brackets.
  2790. # bad attribute            BADATTR     The name of the attribute unknown to lynx
  2791. #                                      of the tag known to lynx. (i.e.,
  2792. #                                      attributes of unknown tags will have
  2793. #                                      markup of  ATTRIB)
  2794. # sgml special             SGMLSPECIAL doctype, sgmlelt, sgmlele,
  2795. #                                      sgmlattlist, marked section, identifier
  2796. .fi
  2797. #
  2798. # Notes:
  2799. #
  2800. # 1) The markup for HTML_ENTIRE will be emitted only once - it will surround
  2801. #    entire file source.
  2802. #
  2803. # 2) The tagnames specified by TAGSPEC should be valid html tag names.
  2804. #
  2805. # 3) If the tag/class combination given by TAGOPEN is not assigned a color
  2806. #    style in lss file (for lynx compiled with lss support), that tag/class
  2807. #    combination will be emitted anyway during internal html markup. Such
  2808. #    combinations will be also reported to the trace log.
  2809. #
  2810. # 4) Lexeme 'tag' means tag name only
  2811. #
  2812. # 5) Angle brackets of html specials won't be surrounded by markup for ABRACKET
  2813. #
  2814. .ex
  2815. # PRETTYSRC_SPEC:COMM:B I:!I !B
  2816. #           HTML comments will be surrounded by <b><i> and </i></b> in the
  2817. #           internal html markup
  2818. .ex
  2819. # PRETTYSRC_SPEC:ATTRVAL: span.attrval : !span
  2820. #           Values of the attributes will be surrounded by the
  2821. #           <SPAN class=attrval> </SPAN>
  2822. .ex
  2823. # PRETTYSRC_SPEC:HREF::
  2824. #           No special html markup will surround hyperlink destinations (
  2825. #           this means that only default color style for hrefs will be applied
  2826. #           to them)
  2827. #
  2828. # For lynx compiled with lss support, the following settings are the default:
  2829. #PRETTYSRC_SPEC:COMM:span.htmlsrc_comment:!span
  2830. #PRETTYSRC_SPEC:TAG:span.htmlsrc_tag:!span
  2831. #PRETTYSRC_SPEC:ATTRIB:span.htmlsrc_attrib:!span
  2832. #PRETTYSRC_SPEC:ATTRVAL:span.htmlsrc_attrval:!span
  2833. #PRETTYSRC_SPEC:ABRACKET:span.htmlsrc_abracket:!span
  2834. #PRETTYSRC_SPEC:ENTITY:span.htmlsrc_entity:!span
  2835. #PRETTYSRC_SPEC:HREF:span.htmlsrc_href:!span
  2836. #PRETTYSRC_SPEC:ENTIRE:span.htmlsrc_entire:!span
  2837. #PRETTYSRC_SPEC:BADSEQ:span.htmlsrc_badseq:!span
  2838. #PRETTYSRC_SPEC:BADTAG:span.htmlsrc_badtag:!span
  2839. #PRETTYSRC_SPEC:BADATTR:span.htmlsrc_badattr:!span
  2840. #PRETTYSRC_SPEC:SGMLSPECIAL:span.htmlsrc_sgmlspecial:!span
  2841. # the styles corresponding to them are present in sample .lss file.
  2842. # For lynx compiled without lss support, the following settings are the default:
  2843. #PRETTYSRC_SPEC:COMM:b:!b
  2844. #PRETTYSRC_SPEC:TAG:b:!b
  2845. #PRETTYSRC_SPEC:ATTRIB:b:!b
  2846. #PRETTYSRC_SPEC:ATTRVAL::
  2847. #PRETTYSRC_SPEC:ABRACKET:b:!b
  2848. #PRETTYSRC_SPEC:ENTITY:b:!b
  2849. #PRETTYSRC_SPEC:HREF::
  2850. #PRETTYSRC_SPEC:ENTIRE::
  2851. #PRETTYSRC_SPEC:BADSEQ:b:!b
  2852. #PRETTYSRC_SPEC:BADTAG::
  2853. #PRETTYSRC_SPEC:BADATTR::
  2854. #PRETTYSRC_SPEC:SGMLSPECIAL:b:!b
  2855. #
  2856. # Other source-view related options:
  2857. #
  2858. # Options HTMLSRC_TAGNAME_XFORM and HTMLSRC_ATTRNAME_XFORM control the way the
  2859. # names of tags and names of attributes are transformed correspondingly.
  2860. # Possible values: 0 - lowercase, 1 - leave as is, 2 - uppercase.
  2861. #HTMLSRC_TAGNAME_XFORM:2
  2862. #HTMLSRC_ATTRNAME_XFORM:2
  2863.  
  2864. .h2 PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING
  2865. # PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING - pretty source view setting
  2866. # If "keypad mode" in 'O'ptions screen is "Links are numbered" or
  2867. # "Links and form fields are numbered", and PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING is
  2868. # TRUE, then links won't be numbered in psrc view and will be numbered
  2869. # otherwise. Set this setting to TRUE if you prefer numbered links, but wish
  2870. # to get valid HTML source when printing or mailing when in psrc view.
  2871. # Default is FALSE.
  2872. #PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:FALSE
  2873.  
  2874. .h1 HTML Parsing
  2875.  
  2876. .h2 FORCE_EMPTY_HREFLESS_A
  2877. # FORCE_EMPTY_HREFLESS_A - HTML parsing
  2878. # This option mirrors command-line option with the same name.  Default is
  2879. # FALSE.  If true, then any 'A' element without HREF will be closed
  2880. # immediately.  This is useful when viewing documentation produced by broken
  2881. # translator that doesn't emit balanced A elements.  If lynx was compiled with
  2882. # color styles, setting this option to TRUE will make lynx screen much more
  2883. # reasonable (otherwise all text will probably have color corresponding to the
  2884. # A element).
  2885. #
  2886. #FORCE_EMPTY_HREFLESS_A:FALSE
  2887.  
  2888. .h1 Appearance
  2889.  
  2890. .h2 JUSTIFY
  2891. # JUSTIFY - Appearance
  2892. # This option mirrors command-line option with same name.  Default is TRUE.  If
  2893. # true, most of text (except headers and like this) will be justified.  This
  2894. # has no influence on CJK text rendering.
  2895. #
  2896. # This option is only available if Lynx was compiled with EXP_JUSTIFY_ELTS.
  2897. #
  2898. #JUSTIFY:TRUE
  2899.  
  2900. .h2 JUSTIFY_MAX_VOID_PERCENT 
  2901. # JUSTIFY_MAX_VOID_PERCENT - Appearance
  2902. # This option controls the maximum allowed value for ratio (in percents) of
  2903. # 'the number of spaces to spread across the line to justify it' to
  2904. # 'max line size for current style and nesting' when justification is allowed.
  2905. # When that ratio exceeds the value specified, that particular line won't be
  2906. # justified. I.e. the value 28 for this setting will mean maximum value for
  2907. # that ratio is 0.28.
  2908. #
  2909. #JUSTIFY_MAX_VOID_PERCENT:35
  2910.  
  2911. .h1 Interaction
  2912.  
  2913. .h2 TEXTFIELDS_NEED_ACTIVATION
  2914. # If TEXTFIELDS_NEED_ACTIVATION is set to TRUE, and lynx was compiled with
  2915. # TEXTFIELDS_MAY_NEED_ACTIVATION defined, then text input form fields need
  2916. # to be activated (by pressing the Enter key or similar) before the user
  2917. # can enter or modify input.  By default, input fields become automatically
  2918. # activated when selected.  Requiring explicit activation can be desired for
  2919. # users who use alphanumeric keys for navigation (or other keys that have
  2920. # special meaning in the line editor - ' ', 'b', INS, DEL, etc), and don't
  2921. # want to 'get stuck' in form fields.  Instead of setting the option here,
  2922. # explicit activation can also be requested with the -tna command line
  2923. # option.
  2924. #
  2925. #TEXTFIELDS_NEED_ACTIVATION:FALSE
  2926.  
  2927. .h2 LEFTARROW_IN_TEXTFIELD_PROMPT
  2928. # LEFTARROW_IN_TEXTFIELD_PROMPT
  2929. # This option controls what happens when a Left Arrow key is pressed while
  2930. # in the first position of an active text input field.  By default, Lynx
  2931. # asks for confirmation ("Do you want to go back to the previous document?")
  2932. # only if the contents of the fields have been changed since entering it.
  2933. # If set to TRUE, the confirmation prompt is always issued.
  2934. #
  2935. #LEFTARROW_IN_TEXTFIELD_PROMPT:FALSE
  2936.  
  2937. .h1 Internal Behavior
  2938.  
  2939. .h2 CONNECT_TIMEOUT
  2940. # Specifies (in seconds) connect timeout. Not available under DOS (use
  2941. # sockdelay parameter of wattcp). Default value is rather huge.
  2942. #CONNECT_TIMEOUT:18000
  2943.  
  2944. .h2 FTP_PASSIVE
  2945. # Set FTP_PASSIVE to TRUE if you want to use passive mode ftp transfers.
  2946. # You might have to do this if you're behind a restrictive firewall.
  2947. #FTP_PASSIVE:FALSE
  2948.